status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

PGNet Dev pgnet.dev at gmail.com
Wed Jun 6 22:42:25 UTC 2018


Hi

> My $0.02 coming from experience building out scalable WP clusters is, 
> stick to Varnish here.

Miscommunication on my part -- my aforementioned Varnish-in-front 
referred to site dev in general.

To date, it's been in front of Symfony sites.  Works like a champ there.

Since you're apparently working with WP under real-world loads, do you 
perchance have a production-ready, V6-compatible VCL & nginx config you 
can share? or point to?

> FRiCKLE's module is great, but it would be scary to put into production- 
> have fun with that test/release cycle :p

Yep.  Hence my question(s)!

> 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?

This time 'round, it's not entirely 'my' motivation; came with the job's 
"prefer to haves".

Based, in apparently large part, on the usual use of TheGoogle; these 2 
in particular:

 
https://deliciousbrains.com/page-caching-varnish-vs-nginx-fastcgi-cache-2018/
   https://www.scalescale.com/tips/nginx/nginx-vs-varnish/

> There is official support for cache purging with the commercial version 
> of Nginx: https://www.nginx.com/products/nginx/caching/.

Ah, so not (yet) in the FOSS product.  I see it's proxy_cache, not 
fastcgi_cache, based ...


> 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. ;)

Again, yep.

Thx!


More information about the nginx mailing list