**This is an old revision of the document!**
How to add the Pagespeed Module for cPanel Easyapache
The Pagespeed module for Apache is developed and maintained by Google. The module is designed to speed up page load speed and optimize code by filtering HTML through the web server.
Since this is a non-standard module for Apache, you will need to take a few extra steps to install it before running the Easy Apache script.
To make the module available to enable in Easy Apache, SSH into your server and run the following commands:
/usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/ cd /tmp/pagespeed/Easy tar -zcvf Speed.pm.tar.gz pagespeed mkdir -p /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy mv Speed.pm Speed.pm.tar.gz -t /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/ cd && rm -rf /tmp/pagespeed
Once you have completed these steps, you can run the Easy Apache script in the command line by running:
Or you can run the Easy Apache script by logging in to WHM and then going to Software > EasyApache (Apache Update)