Invalidate a certain key in my cache

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 ?

You’ll want to use FRiCKLE Labs / nginx / ngx_cache_purge

thank you, that’s exactly what i want


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