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:cache:common_installation:plesk-shared [2016/08/17 13:03]
Rob Holda [Set Virtual Host level cache root for a single VHost]
litespeed_wiki:cache:common_installation:plesk-shared [2016/08/19 19:18] (current)
Jackson Zhang [Web Cache Web Server Configuration - Plesk Multi-Site/Shared Hosting]
Line 2: Line 2:
 This guide assumes that you have command-line access to the Plesk Server in question. If you do not have command-line access, please refer to Plesk'​s documentation on [[http://​docs.plesk.com/​en-US/​12.5/​advanced-administration-guide-linux/​virtual-hosts-configuration/​virtual-hosts-and-hosting-types/​virtual-host-configuration-files.72064/​ |editing Apache configuration files]] through the Plesk GUI. This guide assumes that you have command-line access to the Plesk Server in question. If you do not have command-line access, please refer to Plesk'​s documentation on [[http://​docs.plesk.com/​en-US/​12.5/​advanced-administration-guide-linux/​virtual-hosts-configuration/​virtual-hosts-and-hosting-types/​virtual-host-configuration-files.72064/​ |editing Apache configuration files]] through the Plesk GUI.
  
 +Simply run the following script, which will set server level and virtual host level cache roots and cache policies:
 +
 +  bash <(curl http://​www.litespeedtech.com/​packages/​lscache/​set_cache_root_policy.sh)
 +
 +Please bear in mind that the script doesn'​t enable the cache lookup for user, you can add cache lookup directive to .htaccess for any particular user manually. Out WordPress Cache Management tool for Plesk can manage the bulk enabling and disabling as you want and it is currently under development.
 +
 +  <​IfModule LiteSpeed>​
 +    CacheLookup public on
 +  </​IfModule>​
 +
 +The following wiki explain steps in details to set cache root and cache policy manually, though there is no such need if the above script has been run already.
 ===== Cache Storage Settings ===== ===== Cache Storage Settings =====
 ==== Set Server level cache root ==== ==== Set Server level cache root ====
  • Admin
  • Last modified: 2016/08/17 13:03
  • by Rob Holda