invalidate a certain key in my cache

Roland RoLaNd r_o_l_a_n_d at
Fri Oct 31 10:43:04 UTC 2014

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