Description
When one of my users installs the Nginx Helper (we even deploy it automatically on every new Wordpress installation) and clicks the Purge Cache button in the admin bar on top, it clears the whole Redis database...
All the page caches of all the users flushed, all the object caches of all the users gone, and Redis completely empty.
Imagine this. A 28GB Redis cache size, 800 users. One of those 800 users presses the Purge Cache button on top, and all the other 799 sites have to warm up the cache again. More than 28GB of cache data gone, every time one of those 800 users presses their button. That's a big problem.
Every site has an own prefix, "example.com:" in the Nginx config and in the Nginx Helper plugin.
I use this config: https://easyengine.io/wordpress-nginx/tutorials/single-site/redis_cache-with-conditional-purging/
Is there a way to make the Nginx Helper only purge "example.com:" from Redis when the user presses Purge Cache, in stead of ""?
And if not, is there an easy way to disable the Purge Cache button?
Thanks!