This is an old revision of the document!


Requirements

Installed and configurated Craft CMS version 3.0.0 or later and LScache. You can find how to configure the cache by this wiki.

Installation

To install the plugin, search for LiteSpeed Cache on the Plugin store, or install manually with the following instructions:

Open your terminal and go to your Craft project:

cd /path/to/project

Then tell Composer to require the plugin:

composer require thoughtfulweb/lite-speed-cache

In the Control Panel, go to Settings → Plugins and click the “Install” button for LiteSpeed Cache.

Usage

On Page Save

Choose whether or not to clear caches by URL, and set the directory where your LSCache folder is located in the plugin settings. If you do not select the per-URL option, all of the cached content in the LSCache folder will be removed on every page save.

Manually

If you just want to nuke the whole cache folder at once, you can go opt to Force Clear LiteSpeed Cache in the plugins CP section. Clicking the clear button will remove all of the cached content in the LSCache folder.

We recommend checking the Github page for example.

  • Admin
  • Last modified: 2018/05/10 14:00
  • by Tihomir