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.

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”).

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>

Download com_lscache and lscache_plugin, ZIP the directories together and install the zip file using the Joomla Administrator menu: Extensions > Manage > Install > Upload Package File.

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

Using the Joomla Administrator menu: Components > LiteSpeed Cache, click the Options button to change LiteSpeed Cache settings.

  • Admin
  • Last modified: 2018/03/09 15:12
  • by Eric Leu