Preventing Automatic Cache Clearing During Updates (Multisite Environment)
-
Hello WP‑Optimize Support Team,
I am using WP‑Optimize in a WordPress multisite directory installation and would like to prevent the cache from being automatically cleared during plugin updates or WordPress core updates.
At the same time, all regular cache‑clearing events should continue to work normally — for example when pages, posts, or products are deleted or updated. Only the automatic purge triggered by system or plugin updates should be disabled.
Is there a built‑in option, filter, or hook that allows me to disable cache clearing specifically during updates?
If not, is there a recommended way to implement this behavior via a custom function placed inside the
/mu-plugins/directory so that the cache remains intact during updates, while all other purge mechanisms continue to operate as expected?Thank you very much for your assistance.
You must be logged in to reply to this topic.