Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:config:enable_pagespeed [2020/03/24 13:57]
Jackson Zhang
litespeed_wiki:config:enable_pagespeed [2020/04/09 15:40] (current)
Jackson Zhang [Using a Control Panel in a Shared Hosting Environment]
Line 1: Line 1:
 ====== How to Enable the PageSpeed Module on LSWS ====== ====== How to Enable the PageSpeed Module on LSWS ======
-**IMPORTANT!! ​Google ​PageSpeed module is a little buggy and may cause stability issuesAlso there is not much performance ​benefit so far we can see while it consumes ​a lot of server resources. It may possibly break some of the LiteSpeed cache solution, such as LiteMage etc.   Disabling PageSpeed module in full is recommended.**+**IMPORTANT!! ​Disabling ​PageSpeed module ​in full is now recommended. We have seen that the PageSpeed module can be a little buggy where it may cause stability issues ​and this won't be addressed since it hasn't been maintained for years. ​Also there is not enough ​performance ​benefits ​we can see to make up for it consuming ​a lot of server resources. It may possibly break some of the LiteSpeed cache solutions, such as LiteMage etc. as explained below.**
  
-Mod_pagespeed is a web server module developed by Google. It automatically applies chosen filters to pages and associated assets (stylesheets,​ JavaScript, and HTML files), as well as to images and website cache requirements. It does not require modifications to existing content or workflow, meaning that all internal optimizations and changes to files are made on the server side, presenting modified files directly to the user. +Mod_pagespeed is a web server module ​that was developed by Google. It automatically applies chosen filters to pages and associated assets (stylesheets,​ JavaScript, and HTML files), as well as to images and website cache requirements. It does not require modifications to existing content or workflow, meaning that all internal optimizations and changes to files are made on the server side, presenting modified files directly to the user. 
  
 Since version 5.2, LSWS provides PageSpeed support. It is possible to enable both PageSpeed and LSCache together in theory, but we don't recommend it. Since version 5.2, LSWS provides PageSpeed support. It is possible to enable both PageSpeed and LSCache together in theory, but we don't recommend it.
Line 25: Line 25:
  
 ===== Using a Control Panel in a Shared Hosting Environment ===== ===== Using a Control Panel in a Shared Hosting Environment =====
-For a control-panel server, PageSpeed must be enabled ​through Apache configuration. Enabling through LSWS Web Admin will only impact the virtual hosts that were created through the LSWS native configurationBy design, it will not affect any virtual hosts set up through ​Apache configuration.+For a control-panel server, PageSpeed must be enabled ​on LiteSpeed ​Admin console first since it is master switch to turn this feature on Then you will also need to write a directive ''​ModPageSpeed On''​ in Apache configuration. ​
  
 To enable PageSpeed, ''​loadModule''​ and ''​FileCachePath''​ are required at the server level. ''​ModPagespeedFileCachePath''​ should not be set at the virtual host level. Enabling independent PageSpeed file cache for each vhost is very costly. It takes a lot of resources and should be avoided in shared hosting environments. ''​ModPageSpeed On''​ at the server level will turn on PageSpeed server wide. This is not recommended for shared servers, as PageSpeed can be resource heavy and may negatively impact performance. ​ To enable PageSpeed, ''​loadModule''​ and ''​FileCachePath''​ are required at the server level. ''​ModPagespeedFileCachePath''​ should not be set at the virtual host level. Enabling independent PageSpeed file cache for each vhost is very costly. It takes a lot of resources and should be avoided in shared hosting environments. ''​ModPageSpeed On''​ at the server level will turn on PageSpeed server wide. This is not recommended for shared servers, as PageSpeed can be resource heavy and may negatively impact performance. ​
  • Admin
  • Last modified: 2020/03/24 13:57
  • by Jackson Zhang