Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:config:enable_pagespeed [2018/04/25 18:11] Jackson Zhang [How to Enable the PageSpeed Module on LSWS] |
litespeed_wiki:config:enable_pagespeed [2018/04/25 20:45] Lisa Clarke [How to Enable the PageSpeed Module on LSWS] Proofreading |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to Enable the PageSpeed Module on LSWS ====== | ====== How to Enable the PageSpeed Module on LSWS ====== | ||
- | Mod_pagespeed is a web server module developed by Google, which automatically applies chosen filters to pages and associated assets, such as 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 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. PageSpeed and LSCache may possibly be enabled together in theory, but we recommend that **pagespeed and lscache (including LiteMage and all other full page caches) should never be used together in the real production. LSCACHE is already recommended to boost your site performance. ** . When a page gets cached, it can no longer be run through PageSpeed for HTML improvements. The PageSpeed optimizations to CSS, JS, and image files will still be in effect. Also when pagespeed used, pagespeed generates different output for different browser, which make the output not cache friendly. | + | 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. |
+ | |||
+ | **PageSpeed and LSCache (including LiteMage and all other full page caches) should never be used together in a real production environment.** LSCache is recommended to boost your site performance. When a page is cached, it can no longer be run through PageSpeed for HTML improvements, though the PageSpeed optimizations to CSS, JS, and image files will be in effect. Most importantly, when PageSpeed is used, it generates different output for different browsers, which means that the output is not cache friendly. | ||