This is an old revision of the document!
Web Cache Web Server Configuration - Plesk Single Site
Cache Storage Settings
Set Server level cache root
Create a file named “lscache.conf” with the following content in directory /etc/httpd/conf.d/
:
<IfModule Litespeed> CacheRoot /var/www/vhosts/lscache/ </IfModule>
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
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.
Advanced Cache Configuration
For Advanced Cache Configuration info, look here.