invalidate a certain key in my cache

Ruslan Ermilov ru at nginx.com
Fri Oct 31 21:56:32 UTC 2014


NGINX+ also offers

http://nginx.org/r/proxy_cache_purge

On Fri, Oct 31, 2014 at 12:50:50PM +0200, Roland RoLaNd wrote:
> thank you, that's exactly what i want

> > Date: Fri, 31 Oct 2014 03:44:08 -0700
> > From: rpaprocki at fearnothingproductions.net
> > To: nginx at nginx.org
> > Subject: Re: invalidate a certain key in my cache
> >
> > You'll want to use http://labs.frickle.com/nginx_ngx_cache_purge/
> >
> > On 10/31/2014 03:43 AM, Roland RoLaNd wrote:
> >> I have nginx setup as a caching proxy, which caches redirect responses from backend servers.
> >>
> >> I want a way to invalidate a certain redirect/key from my cache.
> >>
> >> i usually go into my caching dir and grep/remove it.
> >>
> >> though i would like to do it dynamically by issuing a specific request to nginx..
> >> it could be as simple as requesting the same exact request but adding ?remove_key=1
> >>
> >> would that be possible to do within the config ?



More information about the nginx mailing list