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 | | | ---> 2nd backend | | -> varnish ---> 1st backend | ---> 2nd backend I want replace varnish into squid (better stability/performance when one of backends is down), so I wonder where is better to add Cache-Control: max-age header, on nginx or squid. Is it possible to set up custom Cache-Control (max-age) on squid ??? On Wed, Oct 21, 2009 at 11:40 AM, Matus UHLAR - fantomas <uhlar@xxxxxxxxxxx> wrote: > > 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, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ > Warning: I wish NOT to receive e-mail advertising to this address. > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. > BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease