status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?
rpaprocki at fearnothingproductions.net
Wed Jun 6 22:20:17 UTC 2018
On Wed, Jun 6, 2018 at 3:05 PM, PGNet Dev <pgnet.dev at gmail.com> wrote:
> For some new WordPress sites, I'll be deploying fastcgi_cache as reverse
> proxy / page cache, instead of usual Varnish.
> Although there are a number of WP-module-based PURGE options, I prefer
> that it's handled by the web server.
> A commonly referenced approach is to use the 'FRiCKLE/ngx_cache_purge',
> with associated nginx conf additions,
> ngx_cache_purge module development appears to have gone stale; no commits
> since ~ 2014.
> What are your experiences with current use of that module, with latest
> 1.15x nginx releases?
> Is there a cleaner, nginx-native approach? Or other nginx purge module
> that's better maintained?
> Comments &/or pointers to any docs, etc would be helpful.
My $0.02 coming from experience building out scalable WP clusters is, stick
to Varnish here.
FRiCKLE's module is great, but it would be scary to put into production-
have fun with that test/release cycle :p
The overhead of putting Nginx in front of Varnish is fairly small in the
grand scheme of things. What's your motivation to strictly use Nginx?
There is official support for cache purging with the commercial version of
I've seen moderate hardware running Nginx (for TLS offload + WAF) ->
Varnish (cache + purge) -> Apache/mod_php do 50k r/s on a single node. One
would hope this suffices; it's a stable and proven stack. Again,
ngx_cache_purge is great, but any unsupported module in a prod environment
is scary when you're not writing the code. ;)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx