Articles on: LiteSpeed

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 repository.



  1. 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 . Replace example.com with your own domain name.



  1. Click on "Enable newly added modules" as shown below.




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




  1. 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





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.





Updated on: 27/12/2018

Was this article helpful?

Share your feedback

Cancel

Thank you!