Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cache:drupal [2018/01/22 19:43] Usman Nasir |
litespeed_wiki:cache:drupal [2018/01/22 20:36] Usman Nasir |
||
---|---|---|---|
Line 13: | Line 13: | ||
===== Enable LiteSpeedCache using rewrite rules ===== | ===== Enable LiteSpeedCache using rewrite rules ===== | ||
- | 1. Create ''.htaccess'' if it doesn't exist, and add the following: | + | Create ''.htaccess'' if it doesn't exist, and add the following: |
<code><IfModule LiteSpeed> | <code><IfModule LiteSpeed> | ||
Line 34: | 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/drupal/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. | ||