Google released a new product, mod_pagespeed. It is a mod for Apache web server.
mod_pagespeed is an open-source Apache module that automatically optimizes web pages and resources on them. It does this by rewriting the resources using filters that implement web performance best practices. Webmasters and web developers can use mod_pagespeed to improve the performance of their web pages when serving content with the Apache HTTP Server.
To install it on Centos 5.5, I did following.
1) SSH to my VPS with root right.
2) Add Google Linux Software Repositories.
rpm --import linux_signing_key.pub
3) Install Pagespeed mod.
yum localinstall mod_pagespeed_*.rpm
4) Restart Apache.
service httpd restart
There are some configuration can help to handle the filter of mod_pagespeed.
file is pagespeed.conf
More details on how to use mod_pageSpeed, click here.