Max-age=0 from Proxy only
eliezer at ngtech.co.il
Tue May 8 21:17:56 UTC 2012
On 09/05/2012 00:07, Justin Dorfman wrote:
> Hello All,
> What is the best way to cache a file from an origin to a proxy server
> (nginx) with a long max-age then change the max-age to 0 when the file
> is being downloaded from the Proxy.
> If that is confusing hopefully this illustration will explain it better:
cache is not ment to be cached forever.
i think that you might can use an if statement that will make a
"location" decision by the source ip or some header.
in most of the proxies you can override the max-age by acls.
> Justin Dorfman <http://www.twitter.com/jdorfman>
> NetDNA <http://www.netdna.com>™
> The Science of Acceleration™
> nginx mailing list
> nginx at nginx.org
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il
More information about the nginx