Page Load Delays

Started by Anonymous, April 13, 2009, 08:05:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jamoe

Just had a look at the source and noticed the link to the wowhead power.js file is in the html head section. It might help to move it to the bottom of the page. This way any slow downs with wowhead are less likely to effect non wow users.

QuoteThe problem caused by scripts is that they block parallel downloads. The HTTP/1.1 specification suggests that browsers download no more than two components in parallel per hostname. If you serve your images from multiple hostnames, you can get more than two downloads to occur in parallel. While a script is downloading, however, the browser won't start any other downloads, even on different hostnames.
http://developer.yahoo.com/performance/rules.html#js_bottom



Might be worth a try??

Gandalf

Ok, just checked the site and there is an updated vesion of the plugin with a local copy of the power.js

This is now installed on the server so it should improve load times. Please do let me know if this has solved the occasional slowdowns.
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

Jamoe

I'm still showing it as coming from wowhead.

Also noticed the defer attribute, will be interesting to see if that helps. Not sure if it will with firefox as I believe there was a bug, might be fixed by now though.

Gandalf

Quote from: Jamoe;277904I'm still showing it as coming from wowhead.

Also noticed the defer attribute, will be interesting to see if that helps. Not sure if it will with firefox as I believe there was a bug, might be fixed by now though.

does help if I turn that option on! Check now
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

Gandalf

Quote from: Jamoe;277904I'm still showing it as coming from wowhead.

Also noticed the defer attribute, will be interesting to see if that helps. Not sure if it will with firefox as I believe there was a bug, might be fixed by now though.

ok, it's now using our copy.

I guess you're using the yslow plugin? Just installed it, looks good :)
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

TeaLeaf

Interestingly over the last 12 hours it has been google analytics that has been waiting to load the whole time.....
TL.
Wisdom doesn\'t necessarily come with age. Sometimes age just shows up all by itself.  (Tom Wilson)
Talent wins games, but teamwork and intelligence wins championships. (Michael Jordan)

Gandalf

Quote from: TeaLeaf;277973Interestingly over the last 12 hours it has been google analytics that has been waiting to load the whole time.....

That's in the footer though so won't affect the main site, just the tiny little bit at the end :)
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

kregoron

After following his thread closely, i was browsing around the web to see if i could find a tool or something and ended up at a website sitetimer.. it shows the loading times and stuff about different sections..

im not much of a website coder.. but i did notice something, why are none of our pictures compressed the slightest? :)
read fail in hte sitetimer or?

http://www.octagate.com/service/SiteTimer/
http://webchat.quakenet.org/ ||| Channels: #deadmen


Gandalf

Quote from: kregoron;277975After following his thread closely, i was browsing around the web to see if i could find a tool or something and ended up at a website sitetimer.. it shows the loading times and stuff about different sections..

im not much of a website coder.. but i did notice something, why are none of our pictures compressed the slightest? :)
read fail in hte sitetimer or?

http://www.octagate.com/service/SiteTimer/

Well I could enable HTTP compression, BUT with the advent of broadband this will actually slow the website down as the server has to compress the page, send it to your client which will then have to decompress the page to display it.
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

kregoron

Quote from: Gandalf;277977Well I could enable HTTP compression, BUT with the advent of broadband this will actually slow the website down as the server has to compress the page, send it to your client which will then have to decompress the page to display it.

ahh k, as i said i dont really have much knowledge about this type of stuff, but the site gives me the impression we actually got a bit of delay on our site.. the yellow colors on the left is afaik the delay before the first bit of the files are received..

correct me if im wrong
http://webchat.quakenet.org/ ||| Channels: #deadmen


Jamoe

yea that seems to have worked.

While I was checking out the power.js I noticed it pulls in css files from the wowhead server. Even after this update it still does this, seems bizzarre to me to have a copy on our server that still fetches css from wowhead. It might be dynamic though (not sure why the url starts with static).

i.e.

http://static.wowhead.com/widgets/power/power.css?3


Also noticed this in yslow (on this thread)

QuoteThe components are split over more than 4 domains


The Domain Name System (DNS) maps hostnames to IP addresses, just like phonebooks map people's names to their phone numbers. When you type URL //www.yahoo.com into the browser, the browser contacts a DNS resolver that returns the server's IP address. DNS has a cost; typically it takes 20 to 120 milliseconds for it to look up the IP address for a hostname. The browser cannot download anything from the host until the lookup completes.


We seem to have a few bottle necks all over the place.