AI Audit Schedule a Call
Speed & Performance November 28, 2026

How to Clear Your WordPress Cache: Plugin, Host, CDN, Browser

How to Clear Your WordPress Cache: Plugin, Host, CDN, Browser
On this page
  1. How do I clear WordPress cache and see my changes right now?
  2. Where the old version is hiding
  3. Start with your own browser
  4. Clear the cache in your caching plugin
  5. Flush the host cache, and the object cache behind it
  6. Purge the CDN, and why not to purge everything
  7. Cache is clear and it still looks wrong
  8. Getting help with caching that won’t behave
  9. Frequently asked questions

To clear WordPress cache, start with the layer closest to you and work outward: reload your browser properly, clear your caching plugin, then your host’s server cache, then your CDN. WordPress core doesn’t keep a page cache, so those layers exist only if a plugin, host or CDN added them. Check the page after each step so you know which one was the culprit.

Stale pages are usually a five-minute job. If caching keeps tripping you up after every edit, our Site Optimization Service is where we sort that out properly.

How do I clear WordPress cache and see my changes right now?

  1. Hard refresh the page, or open it in a different browser. A plain F5 often reloads the page without clearing the browser cache, according to WordPress.org’s documentation.
  2. Clear the cache in your caching plugin (WP Rocket, LiteSpeed Cache and so on).
  3. Flush the server cache from your hosting dashboard, if your host has one.
  4. Purge the CDN. If you use Cloudflare, purge the changed URL rather than everything.
  5. If your site runs an object cache such as Redis or Memcached, flush that last.

No official source ranks these. This is the order we use, because it runs from the quickest check to the broadest purge.

Five steps for clearing WordPress cache in order: browser, plugin, host, CDN, object cache
The order we use when a WordPress page shows an old version.

Where the old version is hiding

WordPress.org says a fresh install has no page cache, so everything below applies only if a cache plugin was installed. Its Advanced Administration Handbook describes four kinds: page caching by plugins such as W3 Total Cache, WP Super Cache and Cache Enabler, which save pages as static files; browser caching through Cache-Control and Expires headers; object caching with Redis, Memcached, APC or the file system; and server caching, meaning reverse proxies and opcode caches such as Opcache and Varnish.

The handbook never mentions CDNs. That layer is documented by the vendors, Cloudflare and Kinsta among them.

LayerWhat it holdsWhere you clear it
BrowserFiles saved on the visitor’s deviceHard refresh or browser settings
Page cache pluginStatic copies of your pagesThe plugin’s own menu
Host or server cacheCopies kept by a reverse proxy such as VarnishHosting dashboard
CDNCopies on edge serversCDN dashboard or the plugin’s CDN integration
Object cacheDatabase query results in Redis or MemcachedHost dashboard or an object cache plugin

Start with your own browser

It takes ten seconds and tells you whether the problem is only on your machine. If another browser or device shows the new version, you’re done: the site is fine and your browser held on to old files.

Shortcut keys differ by browser and operating system, and WordPress.org simply points to the help pages for Chrome, Safari, Firefox and Edge. Use your browser’s hard refresh. If the CSS or images still look old, clear the browser’s cached files from its settings.

Clear the cache in your caching plugin

This is where most stale pages get fixed. Good cache plugins clear themselves when you publish a post, page or comment, per WordPress.org, but other changes such as a theme edit may not trigger a clear. Then the old version keeps showing until you do it by hand. If you haven’t chosen a plugin yet, our rundown of the best WordPress cache plugins compares the common ones.

WP Rocket

Go to Settings → WP Rocket → Dashboard tab and click “Clear and preload cache”. You’ll find the same button when you hover over the WP Rocket menu in the admin bar. For one page, hover its row in the Pages or Posts list and click “Clear this cache”, or click “Clear cache” in the Publish box on the edit screen. Note that WP Rocket’s button also triggers preloading, according to its own documentation.

LiteSpeed Cache

Go to WP-Admin → LiteSpeed Cache → Toolbox → Purge tab. The options include Purge Front Page, Purge Pages, Purge Error Pages (403, 404, 500), Purge All – LSCache, Purge All – CSS/JS, Purge All – Opcode Cache and Purge By (category, post ID, tag or URL). Many of them are also in the LiteSpeed menu on the admin bar.

Be careful with “Empty Entire Cache”. LiteSpeed says it purges every entry for the whole site, including entries from other web applications. For ordinary edits, Purge All – LSCache or a single URL is the better choice.

WP Super Cache

WP Super Cache keeps its files in wp-content/cache/supercache/, in folders named after your hostname. It removes cached files itself when you edit a post or a comment arrives. There’s an option to wipe everything whenever you publish, but the plugin’s FAQ warns it can cause load spikes. For frequently updated sites, the plugin page suggests a 1800-second cache timeout. It also advises clearing the file cache after you configure a CDN. The plugin page doesn’t say where the delete button sits, so open the plugin’s settings screen and look there.

W3 Total Cache

Hosting guides point to Performance → Dashboard → Empty all caches. We couldn’t match that to official W3 Total Cache documentation, so check the label against your version before trusting it.

Flush the host cache, and the object cache behind it

Many managed WordPress hosts run server-side caching, sometimes without announcing it. WordPress.org advises checking whether your host offers a manual flush, and says changes often show up immediately afterward. A reverse proxy like Varnish can keep serving the old copy until it expires, so clearing the plugin alone won’t help.

Kinsta is a clear example. In MyKinsta, select the site, open the Caching tab and click “Clear all caches” to purge every enabled layer. To clear only static content, use the Server Caching tab → “Clear cache”. For the CDN, go to the Caching tab → CDN → “Clear CDN Cache”. We haven’t verified the equivalent screens for WP Engine, SiteGround, Bluehost, GoDaddy or Hostinger. Look for a Caching section in your panel, or ask support to flush it.

Object cache is the awkward one. Nobody publishes one universal click path. LiteSpeed’s documentation puts object cache settings on a separate Object tab under Cache, and its Toolbox Purge tab lists no object-cache button; “Purge All – Opcode Cache” is a different thing from LSCache. Kinsta’s “Clear all caches” covers every enabled layer, though its article gives no separate object-cache steps. Flush it last, and only if the page is still stale after everything else. The handbook says cached data should always be replaceable and regenerable, so a flush costs you speed for a while, not content.

Purge the CDN, and why not to purge everything

Cloudflare doesn’t cache HTML or JSON by default. It caches by file extension, including CSS, JS, JPG, PNG, WEBP, SVG, WOFF2 and MP4. So if you changed a stylesheet or an image and the old one persists, Cloudflare is a likely suspect. HTML sits there only if you’ve set up a Cache Everything style rule or a plugin or host integration.

Per Cloudflare’s docs, open the zone’s Configuration page, choose Purge Everything under Purge Cache, and confirm the warning. Cloudflare itself strongly recommends purging single files by URL instead. Purge everything and every request hits your origin server until the cache refills, which can spike load on a busy site. On the Free plan, purge-everything is limited to 5 requests per minute, while single-file purges run at 800 URLs per second. Dashboards get reorganized, so if the labels look different, search Cloudflare’s docs for the current path.

An API call returning HTTP 200 only means Cloudflare received the request. To verify the purge, request the file and check that CF-Cache-Status is no longer HIT.

Menu paths for clearing cache in WP Rocket, LiteSpeed Cache, Kinsta and Cloudflare
Where to click in four common tools.

One more catch: purging Cloudflare doesn’t clear files already in visitors’ browsers. Repeat visitors keep the old version until the Browser Cache TTL expires. That setting lives on the Caching page, and by default Cloudflare honors your origin’s Expires and Cache-Control headers.

Cache is clear and it still looks wrong

Then it may not be cache at all. In our experience, the most common cause of broken layouts or features after an update is a plugin or theme that doesn’t support the newest PHP or WordPress version. Clearing cache can’t fix that. Roll back or replace the offender, and read our safe update checklist before the next round.

If theme edits are what keep getting stuck, make them on a staging site first, then clear everything once after going live instead of piecemeal.

Getting help with caching that won’t behave

Layered caching is hard to untangle when a plugin, a host and a CDN each keep their own copy. If pages go stale after every update, or purges slow your site down, our Site Optimization Service covers speed and caching setup. You can also contact us and describe what you’re seeing.

Frequently asked questions

Do I need to clear the cache after every edit?

Usually not. WordPress.org says good cache plugins clear automatically when a post, page or comment is published. Theme edits and similar changes may not trigger a clear, so do it by hand after those.

Do I need to purge Cloudflare after clearing my caching plugin?

Only if Cloudflare holds the changed file. It caches static files like CSS, JS and images by default but not HTML, unless you’ve set it to. If you changed a stylesheet or image, purge that URL.

Does purging Cloudflare clear my visitors’ browser cache?

No. Visitors keep their saved copy until the Browser Cache TTL expires. The setting is on the Caching page of the Cloudflare dashboard.

Is “Purge Everything” safe to click?

It works, but Cloudflare recommends single-file purging. After a full purge, every request goes to your origin until the cache refills, which can strain a busy site. On the Free plan you’re limited to 5 such requests per minute.

Does WordPress have a built-in cache?

Not a page cache. WordPress.org says caching comes from a plugin, your host or a CDN, which is why the steps differ from site to site.

Sources