JavaScript
Article

Analyse your site

By Simon Willison

Andy King’s Web Page Analyzer is a smart tool for checking the speed of your site. It can detect whether or not your content is being served using gzip compression, and offers a number of suggestions for performance improvements. The most useful tip I’ve seen it offer is this one about external CSS and JavaScript files:

For external files, try to keep them less than 1160 bytes to fit within one higher-speed TCP-IP packet (or an approximate multiple thereof).

Watch out though: it seems that the analyzer doesn’t currently follow @import links in stylesheets, so it may under-report your included CSS files.

Free Guide:

7 Habits of Successful CTOs

"What makes a great CTO?" Engineering skills? Business savvy? An innate tendency to channel a mythical creature (ahem, unicorn)? All of the above? Discover the top traits of the most successful CTOs in this free guide.

  • zsepi

    it’s a great tool, however, it doesn’t report CSS image replacement techniques, thus the number of images used in the page and the total number of http requests displayed is not accurate

  • http://www.sitepoint.com AlexW

    You can access it with a single click using the ‘Information/Speed Report’ option in the ‘Web Developer’ toolbar extension for FireFox too.

    Very handy.

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in JavaScript, once a week, for free.