Re: [squid-users] HTTP Headers

From: Henrik Nordstrom <[email protected]>
Date: 22 Apr 2003 21:39:01 +0200

tis 2003-04-22 klockan 18.29 skrev Craig Kelley:
> On Tue, 2003-04-22 at 09:13, Henrik Nordstrom wrote:
> > tis 2003-04-22 klockan 16.45 skrev Craig Kelley:
> >
> > > I had sort of come to the same conclusion by placing debug messages in
> > > http.c (in the case HDR_AUTHORIZATION switch). Our "root webserver"
> > > from which the squid boxes accelerate is only accessable by the squid
> > > caches, so I safely set the Cache-control to 'public' on that machine
> > > and everything works beautifully.
> >
> > No you can't.. If you do you also tell any downstream caches that it is
> > OK to cache the content which may not be what you want.
> >
> > What you should do is to modify your Squid accelerator to cache the
> > relevant content even if authentication was used and processed by Squid.
>
> Is there a way to do this with squid 2.5 without hacking the C code?

Without modifying the C code "Cache-Control: public" is your only
option.

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Tue Apr 22 2003 - 13:39:15 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:12 MST