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 of Specific URLs when Updating or Posting
Clear Cache of Specific URLs when Updating or Posting

If all cache is not cleared when a post or a page is updated, this feature may be useful for…

Automatic Cache
Automatic Cache

The cache is created in two ways. First, it is created when the page is visited. Second, If enabled, it…

Preload Settings
Preload Settings

A cached file is typically generated after a user initially visits a page. This creates a delay for the very…

Ready to get started?

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