Site loading time improvement
today I was checking for the loading time of the site. I used net panle in firebug to see which resource takes how much time.
I have attached the spanshot for the result.
In this snalshot I ma bit confused about the last three resources whi开发者_开发技巧ch I have marked.
My question is that why its start loading after very long wait? Those resources taking only few seconds to load but those are starting after a big delay.
Any reason for this?
The load time(s) are still minimal... the gap is WHEN they were loaded... i.e. may have been a slight slowdown on DNS or something. Have you loaded multiple times, is it always the same?
delete the cache and see if it still happens with and after: 200 OK!
Without seeing the actual page its impossible to say why. But most the URLs are triggered by a timer object (have a look at a page here - once you start composing an answer, it will start to fire back requests to save a draft).
Another reason may be that the browser was just to busy running javascript to get round to loading those URLs.
BTW, with all those 304 responses, your sites performance must be pretty awful anyway.
PS, take the gloves off next time you post.
Try the page speed tab. See if there is any javascript block taking some time to execute and thus causing the break in page loading.
Is there any Flash loading?
Any video?
Anything other than html, css, javascript and small images?
Red line on firebug means "load" event (not DOM load event!). So, some of the requests are made after the page loads. Look at your scripts, may be something loads after everything is loaded.
精彩评论