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

Clear Cache After Theme or Plugin Update
Clear Cache After Theme or Plugin Update

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

Placeholder Image
Temporarily Disable CDN

In some cases you may need to disable the CDN temporarily without loosing settings.

Using Varnish Cache with WP Fastest Cache
Using Varnish Cache with WP Fastest Cache

Proxy cached content is automatically cleared when the cache created by WP Fastest Cache is cleared.

Ready to get started?

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