This is an old revision of the document!
Web Cache Web Server Configuration - WHM/cPanel Single Site
Cache Storage Settings
Set Server level of cache root
The server level cache root is set by adding the following to your server level Apache config file:
<IfModule Litespeed> CacheRoot /tmp/lscache </IfModule>
Note: make sure /tmp/lscache exists and server readable/writeable (nobody:nobody for cPanel). CacheRoot is an absolute path for server level setting.
Cache Policy Settings
Add the following Apache style configuration directive in .htaccess to enable cache lookup.
<IfModule LiteSpeed> CacheLookup public on </IfModule>
Perform a web server graceful restart.