This is an old revision of the document!
LiteSpeed Cache for Joomla
The LiteSpeed Cache plugin is a high-performance cache component for Joomla sites running on a LiteSpeed web server.
The LiteSpeed Cache extension is released under the GNU General Public Licence (GPL).
See our website for more information.
Prerequisites
This version of LiteSpeed Cache requires Joomla 3.x or later and LiteSpeed Web Server 5.2.3 or later.
Before installing and activating lscjoomla, Deactivate any other full-page cache modules (such as “System - Page Cache”).
Installing
Step 1. Cache lookup
Modify the .htaccess
file in the Joomla site directory, adding the following directives:
<IfModule LiteSpeed> CacheLookup on </IfModule>
If your Joomla site has a separate mobile view, please add the following directives:
<IfModule LiteSpeed> RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC] RewriteRule .* - [E=Cache-Control:vary=ismobile] </IfModule>
Step 2. Install plugin
Administrator menu: Extensions → Manage → Install
Download com_lscache and lscache_plugin, install the zip file by Upload Package File.
Step 3. Enable the plugin
Enable the LiteSpeed Cache Plugin by using the Administrator menu: Extensions > Plugins.
If you want to set more, please visit Administrator menu: Components > LitespeedCache.