}
LSCache, similar to Varnish cache, is a simpler and more efficient page caching solution built-in to LiteSpeed Web Server. When used in conjunction with Joomla, you can expect significant performance gains with a quick and easy setup. Cache management is also made significantly easier and more flexible. While the LiteSpeed cache plugin for Joomla is still in development, rewrite rules can still be used to customize LSCache's behavior.
Rewrite rules should be added to your .htaccess file, located in the document root of your website, right before the following line:
## Begin - Joomla! core SEF Section.
########## Begin - Litespeed cache <IfModule LiteSpeed> RewriteEngine On CacheDisable public / RewriteCond %{REQUEST_METHOD} ^HEAD|GET$ RewriteCond %{HTTP_HOST} ^domain.com [NC] [OR] RewriteCond %{HTTP_HOST} ^www.domain.com [NC] RewriteCond %{ORG_REQ_URI} !/administrator RewriteRule .* - [E=Cache-Control:max-age=3600] </IfModule> ########## End - Litespeed cache
Powered by WHMCompleteSolution