Clear Cache After Switch Theme

Clear Cache After Switch Theme

by admin

When you switch theme, you might ask for the entire cache to be cleared.

In this case, you need to add the following lines to the wp-config.php file because this feature is not automatically activated. You have to activate it manually.

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

define("WPFC_CLEAR_CACHE_AFTER_SWITCH_THEME", 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/

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…

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.

Ready to get started?

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