Google mod-pagespeed on CentOS

Google mod-pagespeed on CentOS

Short “How to” install Google mod-pagespeed on CentOs. You can read more about this Apache module on this page: Google mod_pagespeed overview . Basicly it’s a module which gives your website speedup. Many simple techniques to reduce size and number of requests.

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.

Firs thing first download mod_pagespeed for Apache . Next import Google public key for .rpm archives.

rpm --import http://dl.google.com/linux/linux_signing_key.pub
wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_x86_64.rpm
rpm -U mod-pagespeed-beta_current_x86_64.rpm