Clearing LiteSpeed Cache on WordPress

LiteSpeed Cache (LSCache) is a powerful caching solution for WordPress sites, designed to improve site speed and performance. However, after making changes to content or design, cached versions can sometimes prevent updates from appearing immediately. This guide will walk you through clearing the LiteSpeed cache using both the admin toolbar shortcut and LSCache settings, ensuring your visitors see the latest version of your site.

Clearing the Cache via the Admin Toolbar Shortcut

  1. Log into WordPress Dashboard
    • Access the WordPress admin area (example.co.uk/wp-admin).
  2. Use the Admin Toolbar Shortcut
    • In the top toolbar, hover over LiteSpeed Cache.
    • Click on Purge All to clear the entire cache in one step.

This shortcut is the fastest way to clear the cache for all pages without navigating the plugin settings.

Clearing the Cache from the LiteSpeed Cache plugin

  1. Open the Purge page
    • In the left sidebar, select LiteSpeed Cache > Toolbox, then the Purge tab.
  2. Purge everything
    • Click Purge All for a full cache clear.
The Dashboard page shows usage statistics, PageSpeed scores and queue status - it is for monitoring and does not carry the purge buttons.

Advanced Purge Options (for Specific Cache Types)

If you need to clear cache for specific content:

  • Go to LiteSpeed Cache > Toolbox > Purge.
  • Use the targeted buttons on that page - for example Purge Front Page, Purge Error Pages, Purge All - CSS/JS, or Purge By… to purge a single category, post ID, tag or URL.

Verifying Cache Purge

  1. Clear Browser Cache: To avoid seeing outdated content.
  2. Reload Pages in Incognito: Verify changes by loading the site in a new incognito window or on another device.

Pro tips

  • Automatic Purging on Updates: Go to LiteSpeed Cache > Cache > Purge to enable automatic cache clearing when posts or pages are updated.
  • Limit Full Purges: Frequent full purges can temporarily slow performance; target specific caches when possible.

Still seeing the old version?

If you have purged the cache, cleared your browser and checked in an incognito window and the old page is still being served, the next place to look is your CDN. If you enabled QUIC.cloud CDN when following Configuring LiteSpeed Cache, your pages are also cached at the CDN's edge servers, which is a separate layer from the cache on your hosting account. You will need to clear that cache too, from your QUIC.cloud dashboard.

The same applies to any other CDN or proxy in front of your site, such as Cloudflare.

For the recommended settings for this plugin, see Configuring LiteSpeed Cache.


How did we do?

Powered by HelpDocs (opens in a new tab)
© Krystal Hosting Ltd 2002–