Skip to main content

🧱 How to Clear Cache in WordPress (Complete 2025 Guide)

All the ways to safely purge cache in WordPress β€” hosting, CDN, object, browser, and plugins β€” updated for October 2025.

Updated over a week ago

When your WordPress site doesn’t show recent updates, caching is often the culprit. Cache helps speed up websites, but it can also store outdated versions of your pages. Here’s how to find and clear every layer of cache β€” from your hosting server to plugins and browsers β€” so your latest changes appear instantly.

βš™οΈ Step-by-Step Instructions

🏒 Step 1: Check for Server-Level Caching

Most managed WordPress hosts automatically cache your website.
Look for caching controls directly in your hosting dashboard.

  • WP Engine β†’ Caching β†’ Clear All Caches

  • SiteGround β†’ Speed β†’ Dynamic Cache β†’ Flush Cache

  • Bluehost β†’ Performance β†’ Caching β†’ Purge All
    If you don’t see these options, search your hosting help docs for β€œFlush Cache” or β€œClear Cache.”

🌐 Step 2: Purge CDN Cache (Cloudflare or Similar)

If you’re using Cloudflare, Akamai, or another CDN service:

  1. Log in to your CDN account.

  2. Go to the Caching tab.

  3. Click Purge Everything.

  4. Wait a few seconds, then reload your site to confirm.

πŸ’Ύ Step 3: Purge Object Cache (Redis / Memcached)

Many hosting providers use Redis or Memcached to store database query results for faster performance.
If you’re using one of these systems:

  1. Go to WP Admin β†’ Tools β†’ Site Health β†’ Info β†’ Persistent Object Cache to confirm it’s active.

  2. In your hosting control panel, look for Flush Object Cache or Clear Redis Cache.

  3. On some platforms (like Kinsta, Cloudways, or RunCloud), this option appears directly on the site dashboard.

  4. From the command line (WP-CLI), you can also run:

  5. wp cache flush

🧭 Step 4: Clear Browser or Local Cache

Sometimes, the β€œstuck” cache isn’t on your website β€” it’s in your browser.

  1. Clear your browser cache and cookies.

  2. Reload your site in Incognito/Private Mode to check the latest version.

  3. Developers can use Chrome DevTools β†’ Disable cache during testing.

🧰 Step 5: Manual Cache Purge (As a Last Resort)

If your cache plugin or host-level purge doesn’t work, you can clear it manually:

  1. Access your site via FTP or your hosting File Manager.

  2. Navigate to:

  3. /wp-content/cache/

  4. Delete all files and folders inside (but do not delete the main /cache/ folder itself).

This forces WordPress to rebuild a fresh cache on the next page load.

πŸ”Œ Step 6: Clear Cache Using Popular Plugins

🧩 WP Rocket

  • Go to Settings β†’ WP Rocket β†’ Dashboard.

  • Click Clear and Preload Cache.

  • Or, hover over the WP Rocket menu in your WordPress admin bar β†’ choose Clear and Preload Cache.

  • Developers can purge cache programmatically with rocket_clean_domain() or rocket_clean_post().


    πŸ‘‰ Resource: WP Rocket Official Docs

⚑ W3 Total Cache (W3TC)

  1. Navigate to Performance β†’ Dashboard.

  2. Click Empty All Caches.

  3. Or use the admin bar β†’ Performance β†’ Purge All Caches.

  4. Advanced users: run

    wp w3-total-cache flush all

    via WP-CLI.

🧹 WP Super Cache

  1. Go to Settings β†’ WP Super Cache.

  2. Scroll to the Delete Cached Pages section.

  3. Click Delete Cache to purge everything.

πŸͺ„ WP Fastest Cache

  1. In your dashboard, open WP Fastest Cache β†’ Delete Cache.

  2. Click Delete Cache or Delete Cache + Minified CSS/JS if you changed styling or scripts.


    πŸ‘‰ Resource: Hostinger Cache Tutorial

πŸ”₯ LiteSpeed Cache

  1. Go to LiteSpeed Cache β†’ Toolbox.

  2. Click Purge Entire Cache.

  3. You can also clear CSS/JS or Object Cache individually if needed.

πŸ’‘ FAQs

❓ Do I need to clear all caches every time I make a change?


πŸ’‘ Not always. Most caching plugins and hosts auto-purge when you update a post, change your theme, or modify plugin settings.

❓ What’s the safest cache purge order?


βš™οΈ Always clear Hosting β†’ CDN β†’ Object Cache β†’ Plugin Cache β†’ Browser.

❓ My site still doesn’t update after clearing everything. What now?


πŸ” Check your CDN cache headers or try forcing a hard refresh (Ctrl + Shift + R / Cmd + Shift + R).

βœ… Closing Note

Clearing cache regularly keeps your website updated and ensures visitors see the latest version of your content. If your site still doesn’t reflect recent changes, contact your hosting support β€” they may need to purge server-level caches manually.

πŸ”— Resources

Did this answer your question?