-
Hello,
thanks for this great plugin.
I teste it on few sites, and it worked fine.Now I installed it on one site with a huge amount of visits, and I am facing a problem with overall site performance and server stability.
After debugging I have noticed that plugin is clearing whole page cache calling an action w3tc_pgcache_flush(); from file class-helper.php
http://prntscr.com/uydkpdI don’t think that this is god idea or practice. Every moment we have from 5 to 7K CCU, and you can think what server spikes cause this 🙂
I have commented out this line 171, till we have found solution.
For me the solution which will work if you add an filter to disable this action of cache clearing, so developers can do that programmatically.
I digger little bit dipper and I have seen that you clear cache on
– plugin activation – it has sense but this could be an option to offer for user when it complete setup
– plugin deactivation – this is from case to case, it is possible to debate about this
– post update to invalidate sitemap cache – this is already done by plugin (speaking about w3 total cache) and it is double task ?This is just my 2 cents
For any future question I would be available…Regards
Nikola
The ticket ‘W3 Total cache flushing cache’ is closed to new replies.