LiteSpeed is not only a piece of web server software that’s faster (and, in many cases, better) than Apache. It also has a build-in cache feature that decrease page loading speeds while also decreasing server load (which in turn decreases loading speeds even more). Lower loading speed is highly desirable! In this guide, we’ll go through how you can manage the LiteSpeed cache via cPanel.
Accessing LiteSpeed Cache management
To access the management of LiteSpeed Cache (LSCache) via cPanel, begin by logging on to cPanel. Then, find the icon LiteSpeed Web Cache Manager
under Advanced
.
LiteSpeed plugins for various CMSes
Via the page for LiteSpeed Web Cache Manager, you’ll find information about various LSCache plugins available for different platforms, such as WordPress, PrestaShop and others:
Flush LSCache
Below the various plugins, you’ll find a feature for flushing the cache for all websites on your web hosting account that use the cache.
LiteSpeed Cache for WordPress
Under LiteSpeed Cache Management
, you’re able to manage LSCache for the WordPress installations residing on your account, without having to log on to wp-admin for each site.
If you click WordPress Cache
, you’ll see a list of all installations that are indexed by the LSCache plugin for cPanel.
Here, you have access to several buttons/features:
Refresh Status
– Reloads the page and updates the status for cache for the various listed sites. If a previously installed WordPress site has been deleted, it’ll be removed from the list when a refresh is done.Scan
– Scans the account for WordPress installations and add them to the list, so the cache can be managed from the interface.Flush All
– Performs the same action as the button underFlush LSCache
– see above. It flushes the cache for all installations on the account, not only the ones listed here.- List of found installations:
Discovered WordPress Installations
– The path to the WordPress installation’s files, shown relative to ~ (i.e. the document root of the web hosting account).Cache status
– Displays whether the cache isenabled
ordisabled
for the installation in question.Flag
– If an installation is flagged, it’ll be excluded from mass operations such as “Flush all”.Actions
– Here you may activate/deactivate the plugin for each WordPress site, and also flag/unflag the installation (see above).
You may also select multiple installations (via the checkboxes to the left) and activate/deactivate the cache for them, or flag/unflag them – all at once.
Other settings
By the bottom of the page, you have access to a few additional settings for LSCache:
Settings
Under Settings, you can set the Log File Level
you want for LSCache. The default is Info
, but you have a number of different levels to choose from, depending on the amount of details you wish to retrieve.
Don’t forget to click Save
when you change the log file level.
Advanced
Under Advanced, you have a button for restarting PHP processes on your web hosting account. This is handy of you want to flush other cache (such as PHP’s built-in opcache) or to stop processes that is stuck in a loop.