Skip to content

Frequently Asked Questions

PLEASE READ

Development on the 3rd party LSCache Purge plugin for Craft CMS has been discontinued:

Per-URL cache busting is now broken in Craft 3.5 because of changes to how template caching works. You will need to nuke the whole cache on save if you are running 3.5+

This plugin is EOL. Minor patches will be issued, but not major functionality overhauls. PR's gratefully received.

We recommend using LSCache with rewrite rules via these instructions if you are using Craft CMS v3.5 or later.

Is the LiteSpeed Cache plugin free?

Yes, this LSCache plugin will always be free and open source. That said, a LiteSpeed server is required, and there are fees associated with some LiteSpeed server editions.

What server software is required for this plugin?

A LiteSpeed server is required in order to use this plugin. You will need one of the following (any single server or cluster including one of these will work):

  • LiteSpeed Web Server Enterprise with LSCache Module (v5.0.10+)
  • LiteSpeed WebADC (v2.0+)
  • OpenLiteSpeed (v1.4.17+)

What is the difference between the LSCache Module for LiteSpeed Web Server (requires a license) and the LSCache plugin (free)?

The LSCache Module is built into your licensed copy of LiteSpeed Web Server. When it comes to caching dynamic content, the LSCache Module does all of the work.

The LSCache plugin is simply an interface. It allows the web app to instruct the server Module on what to cache, how long to cache it, and when to purge. And it allows the site owner to manage and configure the Module. Without the Module, the Plugin could not function.

A licensed LSCache Module is required in order to use the free LSCache plugin.

Does this plugin work in a clustered environment?

Yes. When using the plugin in a clustered environment, the cache entries are stored at the highest LiteSpeed server level. So, if you are using LiteSpeed's own Web ADC, then the cache can be stored at the ADC level. If you are using a third party load balancer, then the cache entries will only be stored at the backend LiteSpeed nodes, and cache purges will not be synchronized across the nodes.

We do not recommend a third party load balancing solution, if you wish to take advantage of LiteSpeed Cache, and keep cache entries synced between nodes.

Note

The rewrite rules created by the LiteSpeed Cache plugin must be copied to the Load Balancer.

Learn more about LiteSpeed Web ADC, or contact LiteSpeed Technologies via email for a customized solution.

How can I install the LiteSpeed Cache Plugin?

The LiteSpeed Cache plugin works right out of the box with default settings that are appropriate for most sites. Please refer to the installation instructions to learn how to get started.

How do I know if LSCache is Working?

You can verify that LiteSpeed Cache is working by using the browser's developer tools, as described in Verify Your Site is Being Cached.


Last update: August 1, 2023