{"id":228156,"date":"2025-04-21T13:47:55","date_gmt":"2025-04-21T13:47:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/clear-cache-everywhere\/"},"modified":"2026-03-30T19:54:02","modified_gmt":"2026-03-30T19:54:02","slug":"clear-cache-everywhere","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/clear-cache-everywhere\/","author":20566778,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"1.2.1","tested":"6.9.4","requires":"5.9","requires_php":"7.4","requires_plugins":null,"header_name":"Clear Cache Everywhere","header_author":"PluginRx","header_description":"Instantly clear all cache sources including WP cache, hosting cache, transients, sessions, and browser cache.","assets_banners_color":"a8c5f4","last_updated":"2026-03-30 19:54:02","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/pluginrx.com\/plugin\/clear-cache-everywhere\/","header_author_uri":"https:\/\/pluginrx.com\/","rating":5,"author_block_rating":0,"active_installs":300,"downloads":1983,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"apos37","date":"2025-06-02 20:57:53"},"1.1.1":{"tag":"1.1.1","author":"apos37","date":"2025-10-07 15:49:55"},"1.2.0":{"tag":"1.2.0","author":"apos37","date":"2026-02-11 21:09:37"},"1.2.1":{"tag":"1.2.1","author":"apos37","date":"2026-03-30 19:54:02"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3278211,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3278211,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3278211,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3278211,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","1.1.1","1.2.0","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3459351,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Settings page and admin bar button."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1339,146,157352,38466,247],"plugin_category":[52,54],"plugin_contributors":[213848],"plugin_business_model":[],"class_list":["post-228156","plugin","type-plugin","status-publish","hentry","plugin_tags-admin-bar","plugin_tags-cache","plugin_tags-clear-cache","plugin_tags-flush-cache","plugin_tags-performance","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_contributors-apos37","plugin_committers-apos37","plugin_support_reps-aristocles"],"banners":{"banner":"https:\/\/ps.w.org\/clear-cache-everywhere\/assets\/banner-772x250.png?rev=3278211","banner_2x":"https:\/\/ps.w.org\/clear-cache-everywhere\/assets\/banner-1544x500.png?rev=3278211","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/clear-cache-everywhere\/assets\/icon-128x128.png?rev=3278211","icon_2x":"https:\/\/ps.w.org\/clear-cache-everywhere\/assets\/icon-256x256.png?rev=3278211","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/clear-cache-everywhere\/assets\/screenshot-1.png?rev=3459351","caption":"Settings page and admin bar button."}],"raw_content":"<!--section=description-->\n<p><strong>Clear Cache Everywhere<\/strong> allows administrators to instantly clear various cache sources directly from the WordPress admin bar. This ensures changes are reflected immediately without waiting for cache expiration.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li><strong>One-Click Cache Clearing:<\/strong> Clears multiple cache layers across WordPress, server, and browser.<\/li>\n<li><strong>Individual Clear Actions:<\/strong> Run specific cache clearing actions independently.<\/li>\n<li><strong>Admin Bar Access:<\/strong> Quick purge button in the WordPress admin bar (eraser icon).<\/li>\n<li><strong>Hosting Integration:<\/strong> Supports clearing hosting-level cache via configurable purge URL.<\/li>\n<li><strong>Third-Party Support:<\/strong> Clears cache for supported plugins and services.<\/li>\n<li><strong>Detailed Logging:<\/strong> Logs execution time for each action.<\/li>\n<li><strong>Developer Hooks:<\/strong> Add additional cache clearing actions via developer hooks.<\/li>\n<\/ul>\n\n<p>By default, clearing the cache will execute the following actions:<\/p>\n\n<ul>\n<li><strong>Rewrite Rules<\/strong> \u2013 Flushes WordPress rewrite rules so permalink and routing changes apply immediately.<\/li>\n<li><strong>WordPress Object Cache<\/strong> \u2013 Clears the in-memory object cache used to store database query results.<\/li>\n<li><strong>Transients<\/strong> \u2013 Deletes all transients, forcing temporary data to regenerate on next load.<\/li>\n<li><strong>OPcache Reset<\/strong> \u2013 Resets PHP OPcache so compiled scripts reload from disk.<\/li>\n<li><strong>Varnish Cache<\/strong> \u2013 Sends a purge request to Varnish to invalidate reverse proxy cached pages.<\/li>\n<li><strong>Redis \/ Memcached<\/strong> \u2013 Flushes persistent object cache if Redis or Memcached is active.<\/li>\n<li><strong>Fragment Cache<\/strong> \u2013 Clears cached template fragments generated by themes or plugins.<\/li>\n<li><strong>REST API Cache<\/strong> \u2013 Removes cached REST responses to ensure endpoints return fresh data.<\/li>\n<li><strong>Sessions<\/strong> \u2013 Destroys active PHP sessions. Users may need to log in again.<\/li>\n<li><strong>Cookies<\/strong> \u2013 Removes site-related browser cookies set by WordPress or plugins.<\/li>\n<li><strong>Browser Cache<\/strong> \u2013 Forces browsers to revalidate and reload cached static assets.<\/li>\n<li><strong>Hosting Cache<\/strong> \u2013 Triggers a configured purge endpoint to clear host-level caching.<\/li>\n<\/ul>\n\n<p><strong>Integrations:<\/strong><\/p>\n\n<p>The plugin already supports clearing cache for the following third-party plugins:<\/p>\n\n<ul>\n<li>Cornerstone<\/li>\n<li>Elementor<\/li>\n<li>WP Super Cache<\/li>\n<li>W3 Total Cache<\/li>\n<li>WP Rocket<\/li>\n<li>LiteSpeed Cache<\/li>\n<li>SiteGround Optimizer<\/li>\n<li>Cloudflare<\/li>\n<li>Autoptimize<\/li>\n<li>Swift Performance<\/li>\n<li>Comet Cache<\/li>\n<li>WP Fastest Cache<\/li>\n<li>Hummingbird<\/li>\n<li>Nginx Helper<\/li>\n<li>WP-Optimize<\/li>\n<\/ul>\n\n<p>This plugin is ideal for developers, content managers, and site owners who need immediate cache flushing across multiple layers.<\/p>\n\n<h3>Demo<\/h3>\n\n<p>https:\/\/youtu.be\/wjCEGl2sSzQ<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/clear-cache-everywhere\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>The <strong>Clear Cache<\/strong> button will appear in the admin bar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20does%20this%20plugin%20clear%20cache%3F\"><h3>How does this plugin clear cache?<\/h3><\/dt>\n<dd><p>It executes multiple cache-clearing actions across WordPress core, object caching systems, server-level caching, browser cache, and supported third-party plugins. Individual actions can be triggered independently.<\/p><\/dd>\n<dt id=\"why%20does%20it%20take%20so%20long%20to%20clear%20the%20cache%20sometimes%3F\"><h3>Why does it take so long to clear the cache sometimes?<\/h3><\/dt>\n<dd><p>Clearing cache is not just a single action. When you click \u201cClear All,\u201d the plugin may be flushing multiple cache layers: object cache, persistent cache (Redis\/Memcached), OPcache, reverse proxies like Varnish, REST caches, transients, sessions, and third-party integrations. Each layer operates differently and may require disk I\/O, memory resets, or network requests.<\/p>\n\n<p>On larger sites, clearing cache can take longer because:<\/p>\n\n<p>\u2022 Persistent object caches may contain thousands of keys that must be invalidated.\n\u2022 OPcache must reload compiled PHP scripts into memory.\n\u2022 Reverse proxies and CDNs require network-based purge requests.\n\u2022 Transients and fragment caches may involve large amounts of stored data.<\/p>\n\n<p>After cache is cleared, the site must rebuild it. Themes and plugins will:<\/p>\n\n<p>\u2022 Re-run expensive database queries.\n\u2022 Recompile templates.\n\u2022 Regenerate CSS\/JS assets.\n\u2022 Rebuild REST responses.\n\u2022 Recreate transients and computed data.<\/p>\n\n<p>This recaching happens on the next page load and can temporarily slow down the first request after a purge. That is expected behavior.<\/p>\n\n<p>If you find that clearing everything takes longer than you prefer, certain actions (such as Transients) can be disabled from the \u201cClear All\u201d button and admin bar in the settings. They can still be cleared independently from the settings page when needed.<\/p>\n\n<p>In some cases, you may not need to clear every layer. For example, content edits typically do not require transients or OPcache to be reset. Selectively clearing only what is necessary can significantly reduce execution time.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20all%20hosting%20providers%3F\"><h3>Does this work with all hosting providers?<\/h3><\/dt>\n<dd><p>This depends on your hosting provider. If they offer a cache purge URL, you can configure it in the plugin settings. For example, if you have GoDaddy's Website Security and Backups, you can navigate to Firewall &gt; Settings &gt; Performance &gt; Clear Cache, then grab the Clear Cache API link to put in your settings.<\/p><\/dd>\n<dt id=\"will%20this%20force%20browsers%20to%20load%20fresh%20content%3F\"><h3>Will this force browsers to load fresh content?<\/h3><\/dt>\n<dd><p>Yes! The plugin sends cache-control headers to prompt browsers to reload updated content.<\/p><\/dd>\n<dt id=\"can%20i%20add%20custom%20cache%20clearing%20actions%3F\"><h3>Can I add custom cache clearing actions?<\/h3><\/dt>\n<dd><p>Yes. Developers can hook into the clearing process to add custom actions or settings. Full developer documentation is available here:<\/p>\n\n<p>https:\/\/pluginrx.com\/docs\/plugin\/clear-cache-everywhere\/<\/p><\/dd>\n<dt id=\"is%20there%20a%20function%20to%20trigger%20clearing%20cache%20everywhere%3F\"><h3>Is there a function to trigger clearing cache everywhere?<\/h3><\/dt>\n<dd><p>Yes! A helper function is available for you to use: <code>cceverywhere_clear_all( $log_results = false )<\/code>.<\/p>\n\n<p>The function returns the results of the cache clearing processing. Optionally, you can log the results by setting the <code>$log_results<\/code> parameter to <code>true<\/code>. This will log the results to the debug log.<\/p><\/dd>\n<dt id=\"where%20can%20i%20request%20features%20and%20get%20further%20support%3F\"><h3>Where can I request features and get further support?<\/h3><\/dt>\n<dd><p>We recommend using our <a href=\"https:\/\/pluginrx.com\/support\/plugin\/clear-cache-everywhere\/\">website support forum<\/a> as the primary method for requesting features and getting help. You can also reach out via our <a href=\"https:\/\/discord.gg\/3HnzNEJVnR\">Discord support server<\/a> or the <a href=\"https:\/\/wordpress.org\/support\/plugin\/clear-cache-everywhere\/\">WordPress.org support forum<\/a>, but please note that WordPress.org doesn\u2019t always notify us of new posts, so it\u2019s not ideal for time-sensitive issues.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Update: Added option to clear Cloudflare cache<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Update: Added <code>cceverywhere_\u200bbefore_\u200bclear<\/code> and <code>cceverywhere_\u200bafter_\u200bclear<\/code> hooks<\/li>\n<li>Update: <code>cceverywhere_before_clear_cache<\/code> and <code>cceverywhere_after_clear_cache<\/code> removed<\/li>\n<li>Update: <code>cceverywhere_custom_settings<\/code> hook updated to accept <code>run_context<\/code> and <code>callback<\/code> hooks, please see updated developer docs<\/li>\n<li>Update: Added animated border to admin bar while it's clearing cache<\/li>\n<li>Update: Moved some actions to ajax while leaving sessions, cookies, and browser cache for page reloads<\/li>\n<li>Update: Added descriptions to each action<\/li>\n<li>Update: Added individual clear buttons to each action<\/li>\n<li>Update: Added logging of last results, displayed on settings page<\/li>\n<li>Update: Removed notices and <code>show_skipped_notice<\/code> hook<\/li>\n<li>Update: Added opcache_reset, varnish, redis_memcached, fragment_cache, and rest_api_cache<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Tweak: Update admin bar spacing<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Update: New support links<\/li>\n<\/ul>\n\n<h4>1.0.2.1<\/h4>\n\n<ul>\n<li>Fix: Sanitized cookie names<\/li>\n<li>Update: Moved scripts and styles to enqueue<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Update: Updated author name and website per WordPress trademark policy<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Initial Release on March 19, 2025<\/li>\n<\/ul>","raw_excerpt":"Clear all cache sources in one click from the WordPress admin bar, including WP cache, transients, sessions, browser cache.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/228156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=228156"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/apos37"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=228156"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=228156"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=228156"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=228156"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=228156"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=228156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}