Reputation: 185
Where would you start if you were trying to make this webpage load faster?
Site: Game-On Glove
It is JavaScript heavy because the goal was a one-page layout with light-boxed checkout. The hosting platform creates some limitations in the server side code department.
If there's a Flash or JavaScript banner that anyone knows of that looks as nice, is XML-driven, and actually takes advantage of parallel downloads, please let me know. I chose to pre-load the bunch of 250px images that appear in our Flash gallery to take advantage of parallel downloads, which our Flash banner of choice doesn't take advantage of.
Apart from that though, in the Firefox Firebug NET tab I see:
onLoad
event to fire I believe. I'm not sure what else to use as the event trigger, but I probably shouldn't have to resort to something else.Avoiding DNS lookups cuts response times, but reducing parallel downloads may increase response times. My guideline is to split these components across at least two but no more than four hostnames. http://developer.yahoo.com/performance/rules.html
Help would be greatly appreciated.
Upvotes: 2
Views: 1885
Reputation: 93473
The number of files, that site is loading, really hurts performance. Studies show that the overhead per file as a much vaster effect than filesize (for typical script, image, CSS files).
So some things to do:
Consolidate Javascript into as few files as reasonable.
Use the Async
and Defer
attributes to stop JS from slowing page loads.
Consolidate CSS into as few files as reasonable.
Merge images into CSS Sprites.
Make sure your server is caching files!
Turn on Gzip encoding at the server.
Avoid Redirects (301, 302) as much as possible (but preserve old URL's or lose customers). Check the web-server logs to identify and fix problems.
Get a faster site/domain host. :)
See also:
Upvotes: 2
Reputation: 31574
You could try Pingdom, which purely measures time to download objects (no JavaScript processing time or anything like that).
I tested your site and it looks like it needs >1.7MiB of information, which could be partially where your slowdown is occurring.
Upvotes: 2