Love this site and services. fastcgi_cache_purge is a great feature and something crucial to a project I’m working on.
There is one caveat that I haven’t encountered however. I’m setting up a multinode wordpress website and was wondering if anyone had come across the problem of handling a cache purge request to multiple nodes initiated from one node.
For example, I have the following Nginx configuration to use with the nginx-helper plugin:
location ~ /purge(/.*) {
fastcgi_cache_purge WORDPRESS "$scheme$request_method$host$1";
}
Is there anyway to send that request (lua script?) to all nodes in my cluster simultaneously?