Invalidate just one page under a location directive.

Quintin Par quintinpar at
Wed Feb 8 07:44:04 UTC 2012

Hi all,

A section of my virtual(say /industry) is cached with

 proxy_cache_key         $scheme$host$request_uri;

key. This will cache all pages under this virtual. I do cache invalidation
by firing a request with


Now if I need to invalidate cache for a page under this virtual, how should
I go about doing it?

Say /industry is the location directive

I need to invalidate just


How do I do this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list