- Latest Beta Version
- Latest Stable Version
Supported platforms
- CentOS/Fedora (32-bit and 64-bit)
- Debian/Ubuntu (32-bit and 64-bit)
To install the packages, on Debian/Ubuntu, please run (as root) the following command:
dpkg -i mod-pagespeed-*.deb apt-get -f install
For CentOS/Fedora, please execute (also as root):
yum install at # if you do not already have 'at' installed rpm -U mod-pagespeed-*.rpm
Installing mod_pagespeed will add the Google repository so your system
will automatically keep mod_pagespeed up to date. If you don't want Google's
repository, do sudo touch /etc/default/mod-pagespeed
before
installing the package.
You can also download a number of system tests. These are the same tests available on ModPageSpeed.com.
What is installed
- The mod_pagespeed packages install two versions of the mod_pagespeed code
itself,
mod_pagespeed.so
for Apache 2.2 andmod_pagespeed_ap24.so
for Apache 2.4. - Configuration files:
pagespeed.conf
,pagespeed_libraries.conf
, and (on Debian)pagespeed.load
. If you modify one of these configuration files, that file will not be upgraded automatically in the future. - A standalone JavaScript minifier
pagespeed_js_minify
based on the one used in mod_pagespeed, that can both minify JavaScript and generate metadata for library canonicalization.