How to Clear Cache in WordPress & Find the Right One
In this article
Clearing your WordPress cache is often the first fix for a site that looks broken, shows old content, or runs slowly after you've made changes. This guide walks you through finding which cache you're dealing with (browser, plugin, server, or CDN) and clearing each one safely. No technical background needed—just follow the steps in order.
What You'll Need
- Admin access to your WordPress dashboard (usually via /wp-admin)
- FTP or cPanel access (only needed for server-level cache, optional)
- A few minutes—clearing cache is quick
Step-by-Step
- Start with your browser cache. This is the most common source of "stale" pages. In Chrome, press Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac), choose "Cached images and files," and click Clear. In Firefox, use Ctrl+Shift+Delete and select "Cache." In Safari, go to Preferences > Privacy > Manage Website Data, then Remove All. This won't harm your site—it just reloads fresh files.
- Check if you have a caching plugin. Go to your WordPress dashboard and look at the left sidebar. Common plugins: WP Rocket, W3 Total Cache, WP Super Cache, LiteSpeed Cache, or SiteGround Optimizer. If you see one, that's your site cache.
- Clear the plugin cache. Each plugin has a button: WP Rocket has "Clear Cache" in the admin bar; W3 Total Cache has "Purge All Caches" under Performance; WP Super Cache has "Delete Cache" on its settings page; LiteSpeed Cache has a "Purge All" button in the toolbar. Click it and wait a few seconds.
- If you don't have a plugin, check your hosting panel. Log into your hosting account (cPanel, hPanel, or custom). Look for a "Cache" or "Performance" section. Many hosts like SiteGround, Bluehost, or Hostinger have a one-click "Purge Cache" button. Click it.
- Clear server-side cache (if applicable). Some hosts use Varnish or NGINX FastCGI cache. In cPanel, look for "Varnish Cache" or "NGINX Cache" and click "Purge." If you're unsure, contact your host's support—they can do it for you.
- Clear CDN cache (if you use Cloudflare, etc.). If your site uses a CDN, log into your CDN dashboard. For Cloudflare, go to Caching > Purge Cache > Purge Everything. This ensures visitors get the latest files from edge servers.
- Verify the cache is cleared. Hard-refresh your browser (Ctrl+F5 on Windows, Cmd+Shift+R on Mac) and visit the page you changed. If it shows the new content, you're done.
Common Mistakes
- Only clearing browser cache. If your site still shows old content, it's likely a plugin or server cache—not your browser.
- Clearing the wrong plugin. Some sites have multiple caching layers. If you clear one and it doesn't work, look for another.
- Not clearing after every update. If you edit a page or post, always clear the site cache so visitors see the change.
- Using a cache plugin without configuration. Default settings may not work well—read the plugin's docs.
Tips
- Install a caching plugin if you don't have one. It speeds up your site significantly. WP Rocket is premium but easy; W3 Total Cache is free but more complex.
- Set a reasonable cache expiration. For most sites, 24–48 hours is fine. Longer isn't always better if you update often.
- Use a cache plugin that integrates with your host. For example, SiteGround Optimizer works best on SiteGround hosting.
- Exclude dynamic pages from caching. If you have a shopping cart or member area, don't cache those pages—use the plugin's exclusion settings.
Troubleshooting
- Cache cleared but site still shows old content. Check for multiple caching layers: browser, plugin, server, CDN. Clear each one step by step. Also, check if your theme or page builder has its own cache (e.g., Elementor has a "Regenerate CSS & Data" button).
- Site breaks after clearing cache. This is rare but can happen if your cache was serving a fallback. Try reloading a few times, or check your site's error log. If it persists, contact your host.
- Can't find the cache button. Some plugins hide it in settings. Search the plugin's documentation or use the admin bar (top black bar) which usually has a cache icon.
- You're not sure if you have a cache plugin. Go to Plugins > Installed Plugins and look for any caching-related names. If none, your host likely has a server cache—check your hosting panel.
Frequently Asked Questions
How often should I clear my WordPress cache?
Only when you make changes to your site's content, design, or code. Otherwise, leave it alone—caching speeds up your site.
Will clearing cache delete my WordPress content?
No. Cache is just temporary files (HTML, CSS, JS). Your posts, pages, and media are stored in the database and remain untouched.
What's the difference between browser cache and site cache?
Browser cache stores files on your computer to load pages faster. Site cache (plugin/server) stores generated pages on the server to reduce load time for all visitors.
Do I need a caching plugin if my host offers caching?
Not necessarily. Many hosts have built-in caching. But a plugin gives you more control, like excluding certain pages or setting custom expiration times.
How do I know which cache is causing the problem?
Clear one at a time and test. Start with browser, then plugin, then server, then CDN. The one that fixes the issue is the culprit.
Can I clear cache from my phone?
Yes, you can log into WordPress from a mobile browser and clear plugin cache. For browser cache, use your phone's browser settings—clear history and website data.