demosthenes.info

A blog by Dudley Storey on , , , , , , and anything else that strikes his fancy.

featured articles

popular favourites

Introduction to Site Speed Optimization

StopwatchThe speed at which a web page loads is a delivery of service. A slow website not only frustrates users (an increasing number of whom will abandon your site as the seconds tick by) but also lowers your ranking in search results (Google includes page load speed as part of its algorithm) and potentially increases your costs, if you are paying for site traffic.

As a broad and general rule, assume that every visitor to your site has ADD. Every page must have a load time under eight seconds. That time should be less than five seconds, and ideally under two seconds.

Optimizing a site for speed is a seven-step process, the first five of which are applicable to every web page:

  1. Set a performance baseline by testing the load time of existing pages, whether those pages are offline or hosted on a server.
  2. Redesign and recode your pages for speed.
  3. Minimize file sizes by shaving off every excess byte.
  4. Reduce the number of HTTP requests.
  5. Use intelligent compression and caching.
  6. Cojoin, defer, optimize and make asynchronous any JavaScript.
  7. Optimize MySQL queries.

Each of these steps will be explained in a separate upcoming article.

Dudley StoreyYep! That's two of the tools I will be suggesting for use in the first step, Ian - thanks!

posted by Dudley Storey

web developer guide

featured comment

by JoelB in Goodbye, JQuery Validation: HTML5 Form Errors With CSS3

what i'm reading

A Storm of Swords: A Song of Ice and Fire: Book Three
A Storm of Swords: A Song of Ice and Fire: Book Three

what i'm watching

Californication: The Third Season
Californication: The Third Season

what i'm playing

Mass Effect 3 Collector's Edition
Mass Effect 3 Collector's Edition

what i'm hearing

Dub FX
Dub FX

blogs

podcasts

no ads ever

This blog is free of advertising, and always will be.

creative commons licensed

The content of this blog is free to use in whatever way you wish under the Creative Commons license.