invalidate a certain key in my cache

Robert Paprocki rpaprocki at fearnothingproductions.net
Fri Oct 31 10:44:08 UTC 2014


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 ?  		 	   		  
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
> 



More information about the nginx mailing list