Per site redis page cache prefixing
For background, please see https://github.com/EasyEngine/easyengine/issues/754
nginx-cache: hard coded into nginx site configs, on a server with multiple sites all using redis full page caching, if you issue the "purge all" command from one of the sites, you purge the page cache for all of the sites on the server.
I have gotten around this by defining a
$redis-prefix variable that is used in place of the hard-coded
nginx-cache: in my nginx site configs and set in both the GUI for nginx-helper and in the
server section of the nginx config for each site.
Then when you purge all from site A, all the pages for site A are purged but all the pages for site B are left in the redis cache.
The downside is that this currently requires a customized version of the nginx config file which is updated with new versions of wordops.
If you wordops devs like my idea, I'll do a PR for you.