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.


LiteSpeed LSCache for Joomla is a high performance, low cost, user friendly cache plugin. It will tremendously speed up your site, and reduce server load with minimal management efforts.

For most Joomla sites, the default settings work well. Very few option need to be changed.

For advanced Joomla sites such as E-Commerce sites, the advanced ESI feature and cache options for logged-in users will help run your complex business site like a static file site. It will tremendously improve your customer experience.

The smart auto-purge feature will minimize your management needs. No more worrying about cache sync problems. LSCache will detect that you changed an article, you changed a menu setting, or you changed a module setting. Then, it will automatically purge related pages. So, you can set a longer cache expiration time to improve visitor experience, confident that the cache will be purged when the relevant settings change.

Some components and some pages may not work well with cache. We can set flexible exclude rules for those components and pages. We have both a simple easy way and a powerful complex way (supporting regular expressions).


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” “JotCache” etc).


Step 1. Cache lookup

Modify the .htaccess file in the Joomla site directory, adding the following directives:

<IfModule LiteSpeed>
    CacheLookup on

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]

Step 2. Install plugin

Administrator menu: Extensions → Manage → Install

Download com_lscache and lscache_plugin, and go to Upload Package File to install the zip file.

Step 3. Enable the plugin

Enable the LiteSpeed Cache Plugin by using the Administrator menu: Extensions > Plugins.

If you want to configure the plugin further, please visit Administrator menu: Components > LitespeedCache.

How to Verify

Use browser developer tool, check response header and you should see X-litespeed-Cache-cache: hit in it.

How to Disable

Simply disabled from Administrator menu: Extensions > Plugins.

litespeed_wiki/cache/lscjoomla.txt · Last modified: 2018/03/12 15:15 by Jackson Zhang