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 Both sides next revision
litespeed_wiki:cache:common_installation:plesk-single [2016/05/31 13:48]
Michael Alegre [Set Server level cache root]
litespeed_wiki:cache:common_installation:plesk-single [2016/07/25 15:45]
Long Hu [Set Server level cache root]
Line 3: Line 3:
 ===== Cache Storage Settings ===== ===== Cache Storage Settings =====
 ==== Set Server level cache root ==== ==== Set Server level cache root ====
-The server level cache root is set by adding ​the following ​to your server level Apache config file+Create a file named "​lscache.conf"​ with the following ​content in directory ''/​etc/​httpd/​conf.d/''​
-  <​IfModule Litespeed>​ +<​code>​ 
-  CacheRoot /home/lscache/ +<​IfModule Litespeed>​ 
-  </​IfModule>​+  CacheRoot /var/​www/​vhosts/lscache/ 
 +</​IfModule
 +</code>
   ​   ​
-**Note:​** ​make sure ''/​home/​lscache/'' ​exists and server readable/​writeable (''​apache:​apache''​ for Plesk). CacheRoot is an absolute path for server level setting.+**Note:​** ​It is recommended to set the server level **Cache Root** to ''/​var/​www/​vhosts/​lscache/'' ​or a disk partition with enough space.
  
 ===== Cache Policy Settings =====  ===== Cache Policy Settings ===== 
  • Admin
  • Last modified: 2016/07/25 15:55
  • by Long Hu