14
Feb
 

In a report from November, 2006 Akamai and JupiterResearch concluded that 4 seconds is the threshold an online shopper is willing to wait for pages of the sites to load. In addition:

The report ranked poor site performance as second only to high product prices and shipping costs as leading factors for dissatisfaction among online shoppers.

Based on the feedback of 1,058 online shoppers that were surveyed during the first half of 2006, JupiterResearch offers the following analysis:

* The consequences for an online retailer whose site underperforms include diminished goodwill, negative brand perception, and, most important, significant loss in overall sales.
* Online shopper loyalty is contingent upon quick page loading, especially for high-spending shoppers and those with greater tenure.

Fast load speed is essential to usability and accessibility. If you can’t get your pages to load in 4 or less seconds, this study indicates you are losing a serious amount of visitors. Aside from optimizing code and image sizes there is a nifty little tool out there called MOD_DEFLATE. Mod_deflate is a module you can plugin to your apache webserver to compress the data it sends out. Most of today’s browsers uncompress the data as they receive it. If you’re using a browser that doesn’t support compressed data, then apache will send the normal, uncompressed data stream. Using this does increase the load on the CPU load on the webserver, but sacrificing CPU for faster page loads and saved bandwidth is entirely worth it.

I’m pretty sure most shared hosting accounts use mod_gzip (the older version) or mod_deflate these days, but check with your hosting provider just to make sure. If you’re running your own webserver at home, at work, or at a colocation make sure mod_deflate is installed and operational.

It’s been along time since I’ve had to install or upgrade an Apache webserver, so I’m not sure the exact procedure, but there are some good resources out there already. If you’re a web admin you probably are already familiar with installing modules for Apache, if you’re not a web admin person then you’ll probably have somebody else do it anyway. Regardless, this should help you get started optimizing your page load times with mod_deflate: Howto Forge - Howto mod_deflate.

Bookmark This Post: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Netscape
  • Technorati
 

4 Responses to “Speeding up Page Load Times with mod_deflate”

  1. Robert Says:

    I definitely agree with you, but you also have to look at the source of the study, and be a little concerned about the validity of of a study of load times from Akamai (a provider of application delivery).

  2. Brian Says:

    Yeah I thought about that. I take everything I read on the internet with a grain of salt. I would say its probably holds true within plus or minus a few seconds. I think their sample size was rather small, in the low one-thousands. I don’t think 4 seconds is really the important thing here, anyway, just the fact that in this instant gratification society we need to be able to deliver web pages as fast as possible.

  3. Dave Says:

    Of course if you suffer from a flash crowd effect (Digg/Slashdot/Fark, etc.) saving page and delivering as a static html file might be the best solution on a shared server. You want to decrease server CPU load in that case.

    Even using Wordpress caching still requires PHP to build the page from the cached data and that takes up resources on the server that aren’t required when delivering flat html.

  4. t8d blog » Blog Archive » Seiten-Ladezeiten optimieren - Teil 2: Komprimierung und Obfuscation Says:

    […] für die HTTP-Übertragung beschleunigt den Aufbau von Webseiten teilweise sehr deutlich, ein entscheidender Faktor für den Erfolg einer Website. Dabei werden die Dateien mithilfe des Apache Moduls mod_deflate […]

Leave a Reply