This step 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.
To change settings, visit
Purge All LiteSpeed Cache¶
The orange trash can button at the top of the page is the Purge All LiteSpeed Cache button. It clears the entire LiteSpeed cache for this virtual host. This includes any other web apps using LSCache (WordPress, XenForo, etc.) on this vhost.
Rebuild All LiteSpeed Cache¶
The green lightning bolt button at the top of the page is the Rebuild All LiteSpeed Cache button. It will generate cache files for every cacheable page on this site.
LiteSpeed Cache Status¶
This is where you turn LSCache on and off. It is
Enabled by default and should remain that way, if you wish for your site to be cached.
LiteSpeed Cache TTL (seconds)¶
The number of seconds that a cache object is valid before it expires. The default of
1200000 is equivalent to roughly 14 days. YOu can change this as necessary to cache your site for more or less time.
LiteSpeed ESI Feature¶
ESI is what allows LiteSpeed to cache shopping cart and other private content on publicly cached pages. Enable this, if you want pages with private content to be cacheable.
Seperate View for Logged-in Users¶
When this option is enabled, two copies of each page are saved in public cache: one for the logged-in users, and one for the guest users. If disabled, only one cache copy is saved for both logged-in and guest users to share.
If you are not currently experiencing issues you wish to debug, you can leave the logging level on
Errors Only, or
Disabled. If you are actively debugging the site, set it to
Debug Information. Just remember to set it back the way it was when you are finished debugging, or the log may consume considerable disk space.
Page Setting Tab¶
All of the pages are listed on this tab, and you have the ability to determine how each page will be cached. Some pages may be cached for logged-in users, some may be cached for non-logged-in users, and some may be cached for both.
Use the green button to add a new page to the list.
Use the orange trash can button to purge the given page from cache.
ESI Modules Tab¶
For each module listed, you can determine whether it is to be an ESI module, and if so, whether it will be public, private, or not cached at all. You can also set a TTL (Time to Live) tht differs from the rest of the site. This is particularly useful for time-sensitive widgets.
Choose an ESI tag to indicate that the module should be purged when related events occur.
Use the green buttons to add a new ESI module or ESI route.
Use the orange trash can button to purge the given module from cache.