Title: Clear Cache After Theme or Plugin Update
Last modified: October 12, 2021

---

# Clear Cache After Theme or Plugin Update

 *  [Apfelbiss](https://wordpress.org/support/users/apfelbiss/)
 * (@apfelbiss)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/)
 * Hi,
 * the code for wp-config.php [as described here](https://www.wpfastestcache.com/features/clear-cache-after-theme-or-plugin-update/),
   doesn’t work correctly.
 * There are very often display errors which are only fixed after manually clearing
   cache including minimized CSS and JS. It is possible to also clear minimized 
   CSS/JS automatically after an update?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/#post-14961376)
 * but it already works as you want.
 *  Thread Starter [Apfelbiss](https://wordpress.org/support/users/apfelbiss/)
 * (@apfelbiss)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/#post-14968820)
 * Does this function require special server requirements?
 * Yesterday morning I activated WPFC for testing purposes. Via FTP I see that there
   was an update of „Conditional Fields for Contact Form 7“ last night at 11:43 
   p.m.
 * But the last changes in the filled cache folder were at 1:01 p.m. („all“) and
   11:43 a.m. („wpfc-minified“).
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/#post-14971295)
 * it may have been created at the same time if any page received visitors.
 *  Thread Starter [Apfelbiss](https://wordpress.org/support/users/apfelbiss/)
 * (@apfelbiss)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/#post-14972330)
 * What is that supposed to tell me?
 * The Cache was created **before** the last plugin update. But with this function
   activated, Cache should be cleared after the plugin update.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/#post-14974523)
 * let’s test it together. can you tell me the url please? neither update any plugins
   nor clear cache.
 *  Thread Starter [Apfelbiss](https://wordpress.org/support/users/apfelbiss/)
 * (@apfelbiss)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/#post-15006334)
 * Hello,
 * sorry for my late reply. Currently we don’t have an online accessible development
   environment for this and we cannot provide access to a live environment for strangers.
 * Does this wp-config seeting maybe only work for manual updates? Because at this
   WordPress setup automatic updates for plugins and themes are activated.
 * Even after plugin updates on october 20, 25 midday and 26 morning, most caching
   files (in folders “all” and “wpfc-minified”) weren’t updated after october 13.
   The only exceptions are:
    e-landing-page-sitemap.xml (oct. 15) page-sitemap.xml(
   oct. 17) feed (oct. 21)
    -  This reply was modified 4 years, 7 months ago by [Apfelbiss](https://wordpress.org/support/users/apfelbiss/).
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/#post-15007262)
 * it means that this problem is not only related to minified sources. Cache cannot
   be deleted, right?
 *  Thread Starter [Apfelbiss](https://wordpress.org/support/users/apfelbiss/)
 * (@apfelbiss)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/#post-15018348)
 * Yes, that’s correct.
 * For your information: The live website with the mentioned data is running on 
   1&1 Ionos as WordPress Standard Hosting. On the main live website (1&1 Ionos 
   as WordPress Managed Hosting) WPFC is currently deactivated.
 * Currently the “all” cache on the Standard Hosting website was recreated between
   October 26, 1:05 pm and 2:29 pm. Only sitemap_index.xml was created at Oct 27,
   9:55 am. The minified cache has been recreated between Oct 26, 9:33 am and 2:
   24 pm.
 * The latest updates were:
    – Oct 26, 0:04 am UpdraftPlus Backup – Oct 26, 9:32
   am Contact Form 7 Conditional Fields – Oct 26, 9:32 am Borlabs Cookie – Oct 27,
   11:59 pm Enable Media Replace
 * That seems to be because of the Borlabs Cookie update:
 * > Upgrades from Borlabs Cookie automatically flush the cache of Autoptimize, 
   > Borlabs Cache, WP Fastest Cache, WP Rocket and WP Super Cache.
    -  This reply was modified 4 years, 7 months ago by [Apfelbiss](https://wordpress.org/support/users/apfelbiss/).

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Clear Cache After Theme or Plugin Update’ is closed to new replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Apfelbiss](https://wordpress.org/support/users/apfelbiss/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/clear-cache-after-theme-or-plugin-update/#post-15018348)
 * Status: not resolved