I am a page speed fanatic and am trying to squeeze every last ounce of speed from my site.
I know I need to learn how to combine my JS files (I try it but I mess up my sites responsive design when I do)… but what other things can you guys recommend for me to improve my score?
Is your main user base in California? If not, using a CDN would be your easiest and biggest win and would probably shave close to a second off the times.
Beyond that, it looks like all of the images for your slideshow are getting loaded at the same time, competing for bandwidth, even though only one of them is displayed initially. It’s more work but you’d benefit from lazy-loading the hidden ones and then triggering the rotation after they have all loaded.
A lot of CDN’s will work in a “pull” mode where they will automatically pull the resources from your server as they are requested.
It might be worth giving Cloudflare a try. You can get the benefit of the CDN without really having to make any changes to your site (and they can also provide some other optimizations).
The funny thing is I thought my site was fine when i had 65 requests… I would have never thought I could have got it down to 29 without almost any visible changes to the sites look from a users standpoint.
One really quick suggestion that should shave another 200ms, add an empty conditional IE comment up before the css include. For whatever reason, IE blocks when it reaches the first conditional comment which is what is causing the break after min.css (instead of downloading the javascript in parallel).
No, i wasn’t. I think the problem was either that I deleted a JS file that I wasn’t supposed to or that the “combine js” option in Cloudflare caused issues.
If you look at the bandwidth line at the bottom of the chart, it is taking ~1 second before things get ramped up and you’re fully utilizing the pipe.
Of particular interest is the blocking behavior at 0.8s (after ie.css). It’s possible that it’s just an IE8 thing and newer browsers will be more parallel - though some browsers break at the head so they don’t starve the critical requests.
Realistically you’re probably only going to get faster if you inline the css and html5shiv code but the custom fonts may still be the long pole (btw, you should not be using html5shiv from googlecode, you should download it and re-host - googlecode is not good for serving static resources).
btw, at 1.5Mbps, the fastest you can transfer 256KB is in the 1.4-1.5 second range and that’s even after the connections are warmed up so you’re not really THAT far from optimal.