This is an old revision of the document!


Web Cache Web Server Configuration - Plesk Single Site

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.

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.

For Advanced Cache Configuration info, look here.

  • Admin
  • Last modified: 2016/07/25 15:45
  • by Long Hu