> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.serverfreak.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Install & Enable LsCache Plugin for Drupal


|| Note: The LsCache plugin for Drupal only supports Drupal version 8 and above. 

1. Download the LiteSpeed Cache Module to your local computer from LiteSpeed's [GitHub](https://github.com/litespeedtech/lscache-drupal/archive/master.zip) repository.


2.  Using the Browse button you can upload the plugin you just downloaded and start the installation. Once installed, enable the plugin by visiting [http://example.com/drupal/admin/modules](http://example.com/drupal/admin/modules)  . Replace _example.com_ with your own domain name.

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/61beefcb-d0d3-4c7b-bd5d-21d238827cbf.png)

3. Click on **"Enable newly added modules"** as shown below.

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/5c142097-3082-49b0-b7ae-80037a3e845e.png)


4. Perform the following steps as highlighted below to enable the LsCache plugin.

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/5ef341c7-a0d4-4302-9fe9-e0d744b0ec6f.png)


5. This steps is optional. Once the plugin is activated, your cache is already up and running, but on the configuration screen, you can customize a few settings.

Visit _http://example.com/admin/config/development/lscache_.


||| Replace example.com with your own domain name

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/9de13ec4-f257-48c8-a1d6-a69fdeb869e1.png)



# Clear Cache

### Clear this site
This option only clears the current Drupal installation. This helps if you have multiple Drupal installations on the same virtual host.


### Clear all
This button clears the entire LiteSpeed cache for this virtual host. This includes any other web apps using LSCache (WordPress, XenForo, etc.) on this vhost.


### Debug
If turned on, LiteSpeed Cache will emit extra headers for testing while developing or deploying.


### Public Cache TTL
Amount of time LiteSpeed Web Server will save pages in the public cache.



