Web Cache Web Server Configuration - Apache Config Single Site

Set Server level cache root

The Server level cache root is set by adding the following to your server level Apache config file:

<IfModule Litespeed>
CacheRoot /home/lscache/

Note: make sure /home/lscache/ exists and server readable/writeable. CacheRoot is an absolute path for server level setting.

Add the following Apache style configuration directive in .htaccess to enable cache lookup.

<IfModule LiteSpeed>
   CacheLookup public on

Perform a web server graceful restart.

For Advanced Cache Configuration info, look here.

  • Admin
  • Last modified: 2016/05/31 13:49
  • by Michael Alegre