Why is W3TC trying to purge my entire Varnish cache?
-
I am having trouble determining why W3TC is telling my Varnish server to PURGE the string “/.*” (aka dump the entire cache) periodically. The time interval does not seem to be constant, nor does the frequency. I noticed my cache was being dumped at least once per day so finally I just sat down and watched the logs until I witnessed a PURGE command for “/.*” originating from W3TC.
I started poking through the plugin code and I was able to prevent the plugin from ever again purging the entire cache at once. Purging individual posts/feeds/archives/etc. still works fine. I replaced the line that would dump the cache with an error_log() statement and I can tell that W3TC is still *attempting* to dump my cache 1-2 times per day. I am confused as to what WordPress action is triggering W3TC to send this PURGE command targeting the entire cache.
Frederick, or anyone else who is familiar with the inner workings of W3TC: What are the situations that would cause W3TC to flush the entire cache like this?
https://www.ads-software.com/plugins/w3-total-cache/
[Moderator Note: No bumping, thank you.]
- The topic ‘Why is W3TC trying to purge my entire Varnish cache?’ is closed to new replies.