How to Clear (Purge) the LiteSpeed Cache in WordPress

If you've updated your WordPress site but visitors still see the old version, you need to clear the LiteSpeed Cache (the plugin calls this "purging"). This guide shows the quickest ways to purge the LiteSpeed Cache for a single page or your whole site, from the WordPress dashboard or from your Instant Access Internet Services cPanel, and what to do if changes still don't appear.

When do you need to purge the cache?

LiteSpeed Cache clears the right pages automatically when you publish or update a post or page, and clears everything after WordPress, theme or plugin updates. You usually only need to purge by hand after changes it can't detect, such as:

  • Menus, widgets, the Customizer or theme options
  • Custom CSS or code snippets
  • Page builder templates, headers and footers
  • Changing LiteSpeed Cache settings, especially CSS/JS optimization

Method 1: Purge All from the WordPress admin bar (quickest)

  1. Log in to WordPress.
  2. Hover over the LiteSpeed icon (the lightning diamond) in the black admin bar at the top of the screen.
  3. Click Purge All.

To clear just one page, open that page on your site while logged in, hover over the same icon and choose the option to purge the current page.

Method 2: Use the Toolbox Purge page

For more control, go to LiteSpeed Cache > Toolbox and open the Purge tab. The most useful buttons are:

ButtonWhat it clears
Purge Front PageOnly your home page.
Purge PagesAll cached pages (not posts or archives).
Purge All - LSCacheAll cached pages for this WordPress site.
Purge All - CSS/JSThe minified and combined CSS and JavaScript files. Use this after changing theme styles if you use minify or combine.
Purge All - Critical CSS / Unique CSSCSS generated by QUIC.cloud, if you use those features.
Purge AllCombines most of the "Purge All" buttons. The best choice in most cases.
Empty Entire CacheEverything in the cache, including entries from other web applications. Use only if Purge All didn't help.

Purge specific URLs, posts or categories

Further down the same tab, Purge By... lets you clear a list of items. Choose URL, Post ID, Category or Tag, enter one item per line (for example /contact/), and click the purge button below the box.

Method 3: Flush the cache from cPanel

Handy if you can't get into WordPress or have several WordPress sites:

  1. In cPanel, go to Advanced > LiteSpeed Web Cache Manager.
  2. Click Flush All.

This clears the LiteSpeed Cache for every WordPress site in your account that has it enabled.

Still seeing the old version?

Clear your browser cache

Your browser keeps its own copy of pages, images and CSS. Do a hard reload (Ctrl+F5 on Windows, Cmd+Shift+R on a Mac), or open the site in a private/incognito window. On a phone, try a private tab.

Check whether you're looking at the cached page

Logged-in administrators normally see uncached pages, so you might see your change while visitors don't. Always check in a private window. To confirm what the server sent, look for the x-litespeed-cache header (see the guide on checking that LiteSpeed Cache is working).

Are you using a CDN?

If your site uses a CDN such as Cloudflare, that service may keep its own copy. Purge it there too.

Styles changed but the page looks unchanged

If you use CSS/JS minify or combine, click Purge All - CSS/JS as well as Purge All, then hard-reload.

A page keeps going stale

If one page (for example one that shows live data) keeps showing old content, it may be better to exclude it from the cache. See the guide on excluding pages from the LiteSpeed Cache.

Common questions

Does purging the cache delete my content?

No. Purging only removes the stored copies of pages. Your posts, pages, images and settings aren't touched, and the cache rebuilds itself as visitors arrive.

Will purging slow my site down?

Only briefly. The first visit to each page after a purge is built fresh, which is a little slower. Later visits come from the cache again.

Related guides

Still stuck? Open a support ticket and the Instant Access Internet Services team will help.

Ultrafast LiteSpeed hosting from InstantAccess.net: free SSL, free backups, cPanel included, no contracts. Check out our $10/month hosting.
  • clear litespeed cache, purge litespeed cache, litespeed cache purge all, wordpress changes not showing, clear wordpress cache, flush litespeed cache cpanel
  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

How to Speed Up WordPress with LiteSpeed Cache

Instant Access Internet Services servers run the LiteSpeed web server, so the fastest way to...

What Is LiteSpeed? How Our Web Server Makes Your Website Faster

Every website we host runs on the LiteSpeed web server, a faster drop-in replacement for Apache....

How to Turn On LiteSpeed Cache with the Web Cache Manager in cPanel

You can turn on LiteSpeed Cache for WordPress without logging in to WordPress at all. The...

Best LiteSpeed Cache Settings for WordPress (Using Presets)

The easiest way to get the best LiteSpeed Cache settings for WordPress is to use the plugin's...

How to Optimize Images and Serve WebP with LiteSpeed Cache

Large images are the most common reason a WordPress page loads slowly. On Instant Access Internet...