Progressive Webpage Display in Internet Explorer 7

I am trying to improve the user perception of page load time on some web pages. These web pages take about 5 seconds to complete the download and rendering. The total time is OK; but when you click the link to download the page, nothing happens in about 4.5 seconds, and then the whole page appears in one shot. This spoils the user interface, as the user is left wondering if something is happening or not after clicking the link.

As I understand it, browsers should gradually display web pages in the same way as available resources for rendering part of a page. One thing I saw recommended (e.g. YSlow, for example :) - put css in the head and javascript next to the body body tag - or as close to the end of the page as possible. I did this, but I do not see the start of the page rendering, and then pause the javascript loading. The theory, as I understand it, is that the page will gradually display after loading CSS. I also understand that the page will pause rendering when javascript is executed or loaded.

What else could affect the progressive rendering of IE, especially IE7?

+3
source share
5 answers

, , Fiddler. .

0

, javascript ( , jQuery) . jQuery, , . $.ready, . , 2- , .

+1
  • .

  • , .

0

, .

:

window.onbeforeunload = function(e){ document.body.innerHTML='loading...';/*or even a better content/* };

0
source

I have the same loading problems due to flash movies on the page. Someone tell me why, oh my God, why not just load pages as good as firefox?

If today we went out of business, all the hours, days, and nights that I wasted were over.

I think that on time, that is, get with the requirements of webmasters in 2009 and change the way pages are loaded.

If a java script is used, people without java will see spaces.

0
source

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


All Articles