What is the difference between a static and dynamic representation of content on a Web page?

The terms “static” and “dynamic” refer to the way the Web server responds to the request for a Web page.Dynamic is generally understood as assemling the data into a page about database queries and means that the web page to be delivered is already ready in memory and only needs to be transferred.

From this explanation you can recognize the static web pages compared to dynamic ones being delivered by the web server much faster, because there is nothing to do to create them.Dynamic web pages are much more flexible, however, because the creator only fills one database and the whole thing is only built when the corresponding requirement is also available and of course exactly as the respective requirement is required.

In order to compensate for the loss of time and to reduce the load on the server to build the cropped page, clever programmers have come up with a quick cache that monitors the web server and every request and the corresponding response stores in the hope that in the future similar requests can be delivered by him much faster than static response.This in turn has the disadvantage that the cache cache does not notice any changes in the response behavior of its web server, because it answers the requests as a proxy itself. If the programs know each other, there are synchonization actions, this is not the case, the cache is deleted completely every hour, so that the information can be no more than 1 hour old.

This becomes problematic if you want to deliver the current time on a website, not the time of the browser in the user’s computer, but that of the page operator.I solved this in such a way that an extra data request is sent by the browser to get only the time up-to-date.

Nowadays, this is further slowed down by the browser requesting many other parts of the content separately after loading the page, such as fontfonts, graphics formatting commands and advertising content.That’s why ad blockers are popular, which can significantly speed up the display of a website.

The CMS Joomla has a cache memory contained in the system, so you don’t have to worry about it as a normal user, but much more for special applications.The CMS WordPress leaves this task completely to the user, so that on the one hand you have to take care of it, but you find a large selection of different solutions, each of which pursues a slightly different goal but also makes other mistakes.

We can clearly see here that the full-bodied advertising texts of the system providers all conceal, which for the creation and maintenance of a website quite a lot of system experience belongs, in order to a high onslaught of simultaneous users as well as a high demand on functionality and design.

Leave a Reply