Hello, i have 3 nginx hosts behind a HA Proxy instance, for redundancy. By default, is a purge request is received by one of the server, only that server's cache is cleared.
i wrote a workaround so all 3 of them get cleared when an article is updated, but if more people need this, it could be better written into the plugin with some remote actions or stuff.. this is my code:
Hello, i have 3 nginx hosts behind a HA Proxy instance, for redundancy. By default, is a purge request is received by one of the server, only that server's cache is cleared.
i wrote a workaround so all 3 of them get cleared when an article is updated, but if more people need this, it could be better written into the plugin with some remote actions or stuff.. this is my code:
`
` I am spawning linux curl threads, as i don't want to delay returning the response to the editor.