Line 2: |
Line 2: |
| This howto covers how to setup and deploy Google's mod_pagespeed apache module on SME Server 10 to improve website performance and optimize web content for Googles SEO algorithms. | | This howto covers how to setup and deploy Google's mod_pagespeed apache module on SME Server 10 to improve website performance and optimize web content for Googles SEO algorithms. |
| ===Maintainer=== | | ===Maintainer=== |
− | This howto is maintained by [[User:gzartman]] | + | This howto is maintained by [[User:Gzartman|Greg Zartman]] |
| ===About Mod_PageSpeed=== | | ===About Mod_PageSpeed=== |
| mod_PageSpeed is an Apache, and ngix, module that automatically optimizes web content using a variety of method including compression. Alot of the optimization that mod_PageSpeed does are based upon recommendations seen through Google's PageSpeed Insights testing utility (https://pagespeed.web.dev/). My experience with my production web content, especially CMS content, is that this module can result in a significant performance increase to your web content. | | mod_PageSpeed is an Apache, and ngix, module that automatically optimizes web content using a variety of method including compression. Alot of the optimization that mod_PageSpeed does are based upon recommendations seen through Google's PageSpeed Insights testing utility (https://pagespeed.web.dev/). My experience with my production web content, especially CMS content, is that this module can result in a significant performance increase to your web content. |
Line 9: |
Line 9: |
| | | |
| ===Installation=== | | ===Installation=== |
− | The latest mod_PageSpeed rpms for CentOS can be found here: https://www.modpagespeed.com/doc/download You can either download the proper package manually the upload to your SME Server or use wget from an SSH session: | + | The latest mod_PageSpeed rpms for CentOS can be found here: https://www.modpagespeed.com/doc/download You can either download the proper package manually then upload to your SME Server or use wget from an SSH session: |
| wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm | | wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm |
| Then perform a yum local install: | | Then perform a yum local install: |
| yum localinstall mod-pagespeed-stable_current_x86_64.rpm | | yum localinstall mod-pagespeed-stable_current_x86_64.rpm |
− | The mod_PageSpeed Apache module is now installed on your SME Server, but the module is not yet integrated into the Apache configuration. To do this, we will create a custom template to include the property configuration information in httpd.conf to load the module. | + | The mod_PageSpeed Apache module is now installed on your SME Server, but the module is not yet integrated into the Apache configuration. To do this, we will create a custom template fragment to include the property configuration information in httpd.conf to load the module. |
| | | |
| First, let's create the custom-template fragment: | | First, let's create the custom-template fragment: |