Invalidate just one page under a location directive.

Quintin Par quintinpar at gmail.com
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

 proxy_cache_bypass

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

 /industry/category/cars

How do I do this?

-Quintin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120208/9ec7911f/attachment.html>


More information about the nginx mailing list