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
Clear Cache After Activate/Deactivate a Plugin

When you activate or deactivate a plugin, you might ask for the entire cache to be cleared.

Cache Timeout Page
Cache Timeout Page

You have the opportunity to clear the cache at your convenience using the user-friendly Cache Timeout feature. You can specify…

Placeholder Image
Clearing Cache After New Post

When a new post is published, you can clear all cache or the cache of homepage, the cache of the…

Ready to get started?

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