Hesam Seyedi ● April 4, 2025
Is your WordPress site showing outdated content—even after updates?
You’re not alone. One of the most common headaches WordPress users face is making a change… and then not seeing it live. That’s usually a caching issue.
Caching helps your website load faster, but when those saved files get stale, they can break layouts, hide recent changes, and confuse visitors. The fix? Clear the cache.
If you’ve ever wondered how to clear cache in WordPress without breaking anything, you’re in the right place. This step-by-step guide will walk you through every method—whether you’re using a plugin, hosting service, or doing it manually.
Ready to fix it for good? This guide shows you exactly how to clear your WordPress cache—safely and quickly. Whether you’re using a plugin, your hosting dashboard, or doing it by hand, you’ll find the right method here.
Stop wasting time wondering why updates aren’t showing. Clear your cache, speed things up, and stay in control of your site.
Before you clear it, you need to understand what it is.
Cache is a temporary storage system that saves copies of your website’s data—like HTML, images, CSS, and JavaScript.
The goal? Faster load times for repeat visitors and reduced server stress.
There are a few types you’ll run into:
Caching boosts speed—but when that stored data is outdated, your visitors see old content. That’s when knowing how to clear cache in WordPress becomes essential.
Now that you know what cache does, the next question is: When should you clear it? While caching improves performance, it can also cause confusion. If your site looks broken, updates aren’t showing, or layout changes seem to vanish—stale cache is often the culprit.
Here are common moments when clearing cache is a smart move:
Keep in mind: clearing cache forces your site to rebuild those files—which may slow things down temporarily. That’s why it’s best to clear only when needed, not on a daily basis.
With that in mind, let’s look at the exact steps for clearing cache—starting with the most common one: your browser.
Sometimes, the issue isn’t your website—it’s your browser.
Your browser stores static files like stylesheets, images, and scripts to speed up repeat visits. But if those files are outdated, you won’t see recent changes—even if they’re live on your site.
Before messing with plugins or hosting settings, clearing your browser cache is a quick first step.
Here’s how to do it in major browsers:
Once cleared, refresh your site.
If updates still don’t show, the issue may be on the server side. Let’s move on to clearing your WordPress cache.
If clearing your browser cache didn’t solve the issue, it’s time to check your WordPress cache.
Many WordPress sites use caching plugins to improve load speed. These tools create static versions of your pages so your site doesn’t have to reprocess everything with each visit.
But here’s the catch: those cached files can get stuck, showing outdated versions of your site—even if you’ve made updates.
Luckily, most caching plugins make it easy to clear cache with just a few clicks. Here’s how to do it with the most popular ones:
Simple, lightweight, and beginner-friendly.
Want automatic cache purging? Go to Settings > WP Fastest Cache and enable the options under New Post and Update Post.
Great for high-traffic sites. Here’s how to clear it:
You can also enable garbage collection to clear cache at regular intervals.
A powerful plugin with lots of settings—but cache clearing is easy:
Ideal if your host runs on LiteSpeed server.
Need more control? Use the Purge By section to clear specific tags, URLs, or categories.
If you’re using WP Rocket, cache clearing is instant:
Bonus: WP Rocket also lets you clean up your database, minify scripts, and lazy-load images—all in one dashboard.
If you’re not using a caching plugin—or even if you are—your hosting provider might be running server-side caching in the background.
This type of cache is managed by your web host and often includes things like page cache, object cache, and opcode cache. It’s fast and efficient, but here’s the catch: you might not even know it’s there until something breaks.
So if plugin cache is clear but your changes still aren’t showing, check your hosting dashboard next. Here’s how to do it on popular platforms:
Each host handles caching a bit differently, but the goal is the same: serve content faster. Just don’t forget to clear it when changes aren’t showing up.
Still seeing outdated content? Let’s talk about another layer that could be causing it: your CDN.
If your site uses a CDN (Content Delivery Network), there’s one more place cache might be hiding: edge servers.
CDNs like Cloudflare store static copies of your site on servers around the world. This speeds up delivery for global visitors—but just like browser or server cache, it can sometimes serve outdated files.
Already cleared your plugin and hosting cache but still seeing old content? Time to clear your CDN cache.
How to Clear Cache in Cloudflare
You should see a confirmation message once the cache is cleared. Give it a few seconds, then refresh your site.
Pro tip: Use “Custom Purge” when testing page-level changes to avoid slowing down your whole site while the cache rebuilds.
Still not seeing the changes after all that? There’s one last trick left: manually clearing cache via FTP or file manager—no plugin needed.
Let’s walk through that next.
If plugins and dashboards aren’t doing the job—or if you prefer a hands-on approach—you can clear your cache manually. This method is especially useful when troubleshooting deeper issues or working on a staging site.
Important: Only use this if you’re comfortable accessing your site via FTP or your host’s file manager. One wrong move in the wrong folder can cause problems.
/wp-content/ foldercache directorycache folder – but not the folder itself.⚠️ Do not delete the actual cache folder—just its contents. Some plugins may need that folder to exist in order to function correctly.
wp-config.phpNeed to temporarily disable caching completely?
define('ENABLE_CACHE', false);
If you’ve recently changed hosting providers, switched domains, or made DNS-level updates and still aren’t seeing your site correctly, your local DNS cache might be to blame.
DNS cache stores IP address data linked to domain names, so your computer doesn’t have to look them up every time. But when that data becomes outdated, you might get stuck seeing an older version of your site—or get directed to the wrong server entirely.
Clearing your DNS cache helps your device fetch the most up-to-date routing info.
On Windows
ipconfig /flushdns
On macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponderipconfig /flushdns
Only when necessary. If your site is running smoothly and you’re not making changes, there’s no need to clear it regularly. Clear the cache when:
Yes—but you need to manage them carefully. If you’re using all three, make sure you know how to clear each layer. Don’t assume one clears them all.