Clear Cache After Theme or Plugin Update

Clear Cache After Theme or Plugin Update

by admin

When you update any plugin or theme, the entire cache may need to be cleared.

Sometimes the theme/plugin files can be changed and as a result old source files may remain in the cache files. In this case, the style of pages are broken. Thanks to this feature, we overcome this problem.

You need to add the following lines after <?php which exists at the top of wp-config.php file.

define('WPFC_CLEAR_CACHE_AFTER_PLUGIN_UPDATE', true);
define('WPFC_CLEAR_CACHE_AFTER_THEME_UPDATE', true);

Related articles

Placeholder Image
(Deprecated) Hide or Disable Clear Cache Button

We removed the clear cache button from column so there is no need to hide the button. https://www.wpfastestcache.com/tutorial/clear-cache-for-specific-page/

How to Cache JSON
How to Cache JSON

WP Fastest Cache automatically excludes the urls with JSON as content type.

WP-CLI Commands
WP-CLI Commands

WP-CLI is a command-line tool specifically designed for managing WordPress websites, offering users the ability to perform a wide range…

Ready to get started?

Purchase your first license and see why 1,500,000+ websites globally around the world trust us.