BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Google Releases mod_pagespeed

| by Alex Blewitt Follow 2 Followers on Nov 04, 2010. Estimated reading time: less than one minute |

Google has released mod_pagespeed, a module for Apache HTTPD to speed up serving web pages. It claims to double speed by adding HTTP cache friendly messages without having to make changes to the web applications that are hosted in it.

In the blog post announcement, they describe some of the optimisations, including minimising round-trip times, optimising caching and minimising payload size. The module is being rolled out across GoDaddy as well as the content delivery network Contendo.

The speed optimisations come from a number of filters, which are individually enabled:

  • Minifying HTML CSS and JavaScript on the fly, and serving back those files for subsequent requests (including removing comments, whitepsace and unnecessary quoting)
  • Combining multiple CSS files into a single CSS delivery component
  • Merging CSS into HEAD of an HTML file
  • Adding caching headers, such as Cache-Control, to content that is served without caching
  • Inlining small images into base64 using the data: URL scheme
  • Scaling down large images to provide a 1-1 mapping to an image's specified size in the HTML document

Google have a YouTube video showing the speed difference:

What do you think of the mod_pagespeed extension? Will you be using it?

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

i will give it a try by Toomas Römer

The activation of the module isn't as simple as a2enmod pagespeed. I guess it will take some time until it hits for example the Debian repository. I definitely will give the module a try. I've done some custom WordPress optimizations and if they can be done on a lower level it will make optimized app maintenance a lot easier.

Some concerns by Och Ronus

I've written about some of my concerns here
Just my two cents on the topic... mod_pagespeed might be a precious gift but also an enemy if it distracts developer attention from producing quality code.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT