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:apache-config-single [2016/05/03 15:50]
Michael Alegre [Cache Storage Settings]
litespeed_wiki:cache:common_installation:apache-config-single [2016/05/31 13:49] (current)
Michael Alegre [Set Server level cache root]
Line 1: Line 1:
 ====== Web Cache Web Server Configuration - Apache Config Single Site ====== ====== Web Cache Web Server Configuration - Apache Config Single Site ======
  
-==== Cache Storage Settings ==== +===== Cache Storage Settings ​===== 
-== Set Server level of 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: The Server level cache root is set by adding the following to your server level Apache config file:
   <​IfModule Litespeed>​   <​IfModule Litespeed>​
-  CacheRoot /tmp/lscache+  CacheRoot /home/lscache/
   </​IfModule>​   </​IfModule>​
   ​   ​
-**Note:** make sure /tmp/lscache exists and server readable/​writeable ​(nobody:​nobody for cPanel). CacheRoot is an absolute path for server level setting.+**Note:** make sure ''​/home/lscache/'' ​exists and server readable/​writeable. CacheRoot is an absolute path for server level setting.
  
- ==== Cache Policy Settings ==== +===== Cache Policy Settings ​===== 
  
 Add the following Apache style configuration directive in .htaccess to enable cache lookup. Add the following Apache style configuration directive in .htaccess to enable cache lookup.
Line 20: Line 20:
  
  ​Perform a web server graceful restart.  ​Perform a web server graceful restart.
 +
 +===== Advanced Cache Configuration =====
 +For Advanced Cache Configuration info, **[[litespeed_wiki:​cache:​common_installation:​advanced|look here]]**.
  • Admin
  • Last modified: 2016/05/03 15:50
  • by Michael Alegre