Re: [squid-users] Custom max-age header

2009-10-26 Thread Chris Hostetter
: > Because one of my backend is Amazon S3 and I can't set up : > Cache-Control on it. So I looking for different solution how to change : > this header field (squid). I want the objects to be cache as long as : > possible on the clients web-browser side (1 year). I've never used s3, but this sou

Re: [squid-users] Custom max-age header

2009-10-26 Thread Mark Nottingham
I know it's nasty, but I've been thinking for a while about a refresh_pattern option that would write the new, overridden freshness (e.g., assuming your'e using override-expires, LM factor, etc.) into outgoing response cache-control. On 27/10/2009, at 1:47 PM, Amos Jeffries wrote: On Thu,

Re: [squid-users] Custom max-age header

2009-10-26 Thread Amos Jeffries
On Thu, 22 Oct 2009 11:24:50 +0200, Struzik Wojciech wrote: >> You have not yet answered the question of: >> WHY are you even thinking this ?? > > Because one of my backend is Amazon S3 and I can't set up > Cache-Control on it. So I looking for different solution how to change > this header fie

Re: [squid-users] Custom max-age header

2009-10-22 Thread Struzik Wojciech
> You have not yet answered the question of: > WHY are you even thinking this ?? Because one of my backend is Amazon S3 and I can't set up Cache-Control on it. So I looking for different solution how to change this header field (squid). I want the objects to be cache as long as possible on the c

Re: [squid-users] Custom max-age header

2009-10-21 Thread Amos Jeffries
Struzik Wojciech wrote: Actually I'm using varnish but varnish is unstable (slowdowns, coredumps). Varnish supports Cache-Control, so I can set up this on it. Here is a part of network my topology nginx (consistent hash) -> varnish ---> 1st backend

Re: [squid-users] Custom max-age header

2009-10-21 Thread Struzik Wojciech
Actually I'm using varnish but varnish is unstable (slowdowns, coredumps). Varnish supports Cache-Control, so I can set up this on it. Here is a part of network my topology    nginx (consistent hash) -> varnish ---> 1st backend                      

Re: [squid-users] Custom max-age header

2009-10-21 Thread Matus UHLAR - fantomas
On 21.10.09 10:48, Struzik Wojciech wrote: > I using Squid 2.7. How can i add custom field max-age to Cache-Control > response header ??? why would you want to do that on squid? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertisin

[squid-users] Custom max-age header

2009-10-21 Thread Struzik Wojciech
I using Squid 2.7. How can i add custom field max-age to Cache-Control response header ??? Thanks for any help in advance :)