1. Home
  2. cPanel/WHM
  3. How do I manage LiteSpeed Cache via cPanel?

How do I manage LiteSpeed Cache via cPanel?

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:
Olika LiteSpeed-plugins

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.
Rensa all cache för LiteSpeed

If you only want to flush the cache for a specific site on your web hosting account, do not use this feature. Instead, log on to the admin of that site and flush the cache via the site’s LiteSpeed Cache plugin.

LiteSpeed Cache for WordPress

Remember to deactivate and/or uninstall other cache plugins on your site before activating LiteSpeed Cache. The different cache plugins may cause problems if they’re active at the same time.

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.
litespeed cache management

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 under Flush 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 is enabled or disabled 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 och Advanced

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.

Inställningar för LiteSpeed Caches loggning

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.

Was this article helpful?

Related Articles