News for hackers. Stuff that matters.
Re:Getting Started with Docker by gtaylor on Friday March 21, 2014 @11:38AM (#7442887)
> ObRelated: Varnish is a beast that few people can configure easily. I'd love to work on a caching reverse proxy that was simple, extensible, and fast.

It doesn't have as many caching-specific bells and whistles as Varnish, but nginx is an excellent reverse proxy with some caching abilities (and simple configuration).

Re:Getting Started with Docker by stevekemp on Friday March 21, 2014 @01:18PM (#7443462)
The biggest problem is you cannot use `proxy_cache_purge` unless you pay for the commercial version/fork of nginx.

That means you can't expire the cached content by URL.

Re:Getting Started with Docker by MichaelGG on Friday March 21, 2014 @06:14PM (#7445292)
Doesn't this open-source module do the same thing: http://labs.frickle.com/nginx_ngx_cache_purge/

It seems odd for nginx to try to commercialise such basic parts of the stack where 3rd parties can easily write such functionality.

Re:Getting Started with Docker by e98cuenc on Saturday March 22, 2014 @04:05AM (#7448248)
A nice feature from the commercial nginx purge package is that it lets you purge by prefix. That's a feature that I've not seen in any of the open source purge modules.

If you are hosting data for several users on the same nginx cache and you want to purge only one of them, your only options are to scan the full cache on disk and delete the files that have a key with your prefix, or fork >$1K/year per nginx box for the commercial license.