Welcome! Log In Create A New Profile

Advanced

Re: Max-age=0 from Proxy only

May 08, 2012 05:20PM
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@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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Max-age=0 from Proxy only

Justin Dorfman May 08, 2012 05:08PM

Re: Max-age=0 from Proxy only

elico May 08, 2012 05:20PM

RE: Max-age=0 from Proxy only

Lukas Tribus May 08, 2012 05:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready