Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:cache:drupal [2018/01/19 20:01]
Usman Nasir [Prerequisites]
litespeed_wiki:cache:drupal [2018/01/22 21:37]
Usman Nasir [Configurations]
Line 10: Line 10:
  
 <​code>​https://​github.com/​litespeedtech/​lscache_drupal/​archive/​master.zip</​code>​ <​code>​https://​github.com/​litespeedtech/​lscache_drupal/​archive/​master.zip</​code>​
 +
 +===== Enable LiteSpeedCache using rewrite rules =====
 +
 +Create ''​.htaccess''​ if it doesn'​t exist, and add the following:
 +
 +<​code><​IfModule LiteSpeed>​
 +CacheLookup on
 +</​IfModule></​code>​
  
 ===== Install Plugin ===== ===== Install Plugin =====
Line 26: Line 34:
   - Check the plugin checkbox.   - Check the plugin checkbox.
   - Click Install.   - Click Install.
 +
 +===== Configurations =====
 +
 +This step is optional, once the plugin is activated your cache is already up and running, but on configuration screen, you can customize few settings.
 +
 +Go to -> http://​example.com/​admin/​config/​development/​lscache
 +
 +{{:​litespeed_wiki:​cache:​lscache-drupal.png?​600|}}
 +
 +==== Clear Cache ====
 +
 +**Clear this site**
 +
 +This option only clears the current Drupal installation,​ this helps if you have multiple Drupal installations on a same virtual host.
 +
 +**Clear all**
 +
 +This can help you clear complete cache for this virtual host.
 +
 +==== Debug ====
 + 
 +If turned on LiteSpeed cache plugin will emit extra headers for testing while developing or deploying.
 +
 +==== ESI ====
 +
 +Turn this off when you are on OpenLiteSpeed,​ but even if it is turned on it will not create any issues.
 +
 +==== Max Age ====
 +
 +Amount of time LiteSpeed web server will save pages in the public cache.
 +
 +==== Max Age Private ====
 +
 +Amount of time LiteSpeed web server will save pages in the private cache.
 +
 +
  
  • Admin
  • Last modified: 2018/01/22 21:43
  • by Lisa Clarke