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

From: Struzik Wojciech <bm9ib2r5_at_gmail.com>
Date: Wed, 21 Oct 2009 12:55:54 +0200

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_at_fantomas.sk> 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@fantomas.sk ; 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
Received on Wed Oct 21 2009 - 10:56:03 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 21 2009 - 12:00:02 MDT