Max-age=0 from Proxy only

Justin Dorfman jdorfman at
Tue May 8 21:07:10 UTC 2012

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:



Justin Dorfman <>

NetDNA <>™
The Science of Acceleration™
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list