YSlow and group websites

Follow Jun 16, 2010 · 1 min read

AFFILIATE LINKS

properbroadband.co.uk

Hi,

I was looking at the websites (currys, dixons and pcworld) performance through YSlow & Alexa and noticed peformance isnt as optimised as it could be. Alexa rates pcworld page load as 3.089 seconds, which could be improved with some modifications to how the site is constructed.

Firstly, PCworld makes multiple HTTP requests (see below) which renders the page load to a crawl. As it stands slow page load is caused (at least in part) by the browser having to make multiple requests for files and images before completing the request

  • This page has 16 external Javascript scripts. Try combining them into one.
  • This page has 3 external stylesheets. Try combining them into one.
  • This page has 34 external background images. Try combining them with CSS sprites.

Concatenation of the css and js would improve this. Also js script includes should be at the bottom of the page as the HTTP requests wait for this to load before the page is loaded by the browser. Additionally creating css sprites for core UI elements should be investigated.

Another option for images or js/css files would be to use a CDN or seperate domains for resources, so that multiple HTTP requests can be made in parallel.

Perhaps a dev would be able to look at minifying js and css files to remove whitespace characters.

Why bother? It may seem not worth the while but these small optimisations of the websites would benefit the overall experience and load time when stacked up against all the other changes. Research shows that slow sites can effect SEO.

http://developer.yahoo.com

Just my tuppence worth, feel free to use as you wish

Darren


Written by