Clear Cache Everywhere
Settings
In the admin area of your site, navigate to Tools > Clear Cache Everywhere. The page has two tabs in the header: Settings and Logs.
At the top of the Settings tab you will find:
- Clear All Cache Now: Runs every checked action below, in order.
- Save: Saves your changes. You can also press Ctrl+S (Cmd+S on Mac). A reminder appears if you have unsaved changes.
- How-To Guide, Developer Docs and Support: Links to our documentation and support forum.
Hover over the question mark next to any setting to see a short description. Each action also has its own Clear button, and a status line under it that shows when it last ran and whether it succeeded. If an action has never run, it shows “Never ran.”
Defaults
Check the actions you want included when you click Clear All Cache Now or use the admin bar link.
- Rewrite Rules: Clears and regenerates WordPress rewrite rules. This ensures permalinks, custom post types, and taxonomy URLs function correctly—especially after changes to
.htaccessor permalink settings. Sometimes sites do not like to process this request regularly, so if you are seeing that it’s failing to refresh your rewrite rules, you can disable this and do it manually from the Settings > Permalinks page simply by resaving the settings. - WordPress Object Cache: Flushes the WordPress object cache using
wp_cache_flush(). This clears cached objects stored in memory to force fresh data retrieval. - Transients: Deletes temporary data stored in the database by WordPress or plugins, forcing them to regenerate fresh values on the next request.
- OPcache Reset: Resets PHP OPcache so that compiled PHP scripts are reloaded from disk. This is useful after plugin or theme updates, or if code changes are not being reflected immediately.
- APCu Cache: Clears the APCu user cache. This is separate from OPcache and is commonly available on shared and managed hosting.
- Varnish Cache: Purges cached pages from Varnish if detected. This forces reverse proxy caches to serve fresh content. Propagation may take a few seconds.
- Redis / Memcached: Flushes persistent object caches if Redis or Memcached is active. Large caches may take several seconds to fully clear.
- Fragment Cache: Clears cached template fragments used by themes or plugins. This ensures any partial templates or widgets are regenerated on the next request.
- REST API Cache: Removes cached REST API responses so endpoints return fresh data. Useful for sites that rely heavily on API-driven content.
- Sessions: Destroys all PHP sessions for the current request. This can help reset user-specific data stored in sessions, such as login states or cart info.
- Cookies: Deletes most cookies by expiring them, except those essential for keeping logged-in WordPress users logged in. Useful for resetting client-side data and simulating fresh visits.
- Browser Cache: Sends no-cache headers to the browser to prevent it from using outdated versions of assets or pages. This forces browsers to re-fetch content.
Sessions, Cookies and Browser Cache need a page load to take effect, so after the other actions finish, Clear All Cache Now reloads the page and runs these three.
Hosting and CDN
- Hosting Cache: If your web host supports external cache purging via a URL, this setting will simply request that URL to clear your host’s server-level cache. Enter the link in Hosting Purge URL. Handy for platforms like GoDaddy (Website Security Firewall), Kinsta, or WP Engine.
- Cloudflare Cache: Purges everything in your Cloudflare cache through the Cloudflare API. Enter your Cloudflare Zone ID (Cloudflare dashboard > Overview > API > Zone ID) and a Cloudflare API Token with the Zone > Cache Purge > Purge permission.
- Generic CDN Cache: Purges the cache of any CDN that offers a purge-all REST endpoint, such as KeyCDN, Bunny, or StackPath. Enter the full CDN Purge Endpoint URL and, if your CDN requires one, the CDN API Key, which is sent as a Bearer token.
Integrations
If you use a supported caching plugin or page builder, its clearing option appears here automatically. Options for plugins that are not active on your site are hidden. Check the ones you want included in Clear All Cache Now.
Logs
These options control the Logs tab (see below).
- Clear Logs After (Days): Log entries older than this are deleted once a day. The default is 30. Enter 0 to keep logs forever.
- Log Successful Clears: Failures are always logged. Turn this on to also log successful, info, and skipped results. It is off by default.
- Log Responses to the Browser Console: For troubleshooting. Prints the data returned by each clearing request to your browser’s developer console. It is on by default.
Advanced
- Delete All Data on Uninstall: When you delete the plugin from the Plugins page, permanently remove its settings, last results and logs. This includes any saved Cloudflare or CDN keys. It is off by default, and deactivating the plugin never deletes anything.
Clearing the Cache
It’s easy! Just use the “Clear Cache” link in the admin bar or click the “Clear Cache Now” button in the plugin settings to clear all cache layers at once.
If you only need to refresh specific parts of the site, each cache type also has its individual Clear button in the settings. For example, you can clear just the object cache, sessions, or browser cache without touching other layers.
If an action fails, it will not stop the others. Clear All records the error, continues to the next action, and tells you which ones failed when it finishes. Check the Logs tab for details.
Recommendations:
- Keeping “Clear All” lean ensures faster cache purging and avoids unnecessary performance hits or user logouts.
- Some actions, like Transients, OPcache Reset, Redis / Memcached, or Varnish can be heavy or unnecessary for routine content updates. Consider disabling these from the “Clear All” button and admin bar for daily use.
- Use the individual clear buttons to target these layers only when required, such as after plugin or theme updates, code changes, or major configuration changes.
Logs
The Logs tab shows a history of clearing actions, with the newest first. Each entry shows:
- Date and Status: Success, Failed, Info or Skipped.
- Action: Which cache was being cleared.
- Context: What triggered it: the Settings page, the admin bar, an individual button, a URL, a scheduled task (cron), or a function call from code.
- Duration and User: How long it took and who ran it.
- Details: For failures, the error message. This includes the HTTP status for server errors such as a 500, or the PHP error with its file and line. Failures also list your PHP and WordPress versions, memory limit, execution time and memory use, which helps your host or developer track down the cause.
You can filter by status, action and context, search the log, change how many entries show per page, and delete selected entries in bulk. Clear All in the header deletes every log entry, and Clear All Success deletes everything except failures.
Failures are always logged. To keep a full history of successful clears too, turn on Log Successful Clears in the Settings tab.
