📜 ⬆️ ⬇️

Analyzing the loading of a web page

Below, the translation of the article “Optimizing Page Load Time” , in which the author mathematically calculates the optimal file size for effective transmission during web requests, considers some applied questions of optimizing the page load taking into account browser features, and also gives some detailed and valuable tips. My comments further in italics.

There is a widespread belief that a fast loading page has a positive effect on improving the user experience . In recent years, many sites have begun to use AJAX technology for this purpose in order to reduce latency ( when loading data ). Instead of requesting a new page from the server completely with each click, the browser can often either change the look of the page itself (by displaying or hiding any blocks ), or load a small portion of HTML, XML or JavaScript code and make changes to the existing one. page. In any case, this significantly reduces the time elapsed between the user's click and the end of the browser rendering of the new content.

What influences page loading?


')
However, for most sites, loading the page affects dozens of external objects, the main load time is spent on various HTTP requests for images, JavaScript files and style files. AJAX may help in this situation, but speeding up or removing these HTTP requests can be much more useful, although at the moment there is no common opinion of how this should be done.

read further on webo.in →

Source: https://habr.com/ru/post/31427/


All Articles