Max-age=0 from Proxy only
Eliezer Croitoru
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:
> http://i.imgur.com/BakMD.png
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.
Eliezer
>
> Thanks.
>
> Regards,
>
> Justin Dorfman <http://www.twitter.com/jdorfman>
>
> NetDNA <http://www.netdna.com>™
> The Science of Acceleration™
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il
More information about the nginx
mailing list