RE: Re: What means nocache_hack in Squid-2.5.PRE6?

From: Robert Collins <robert.collins@dont-contact.us>
Date: Sat, 20 Apr 2002 14:51:32 +1000

try circumvent.

Rob

> -----Original Message-----
> From: maer727@sohu.com [mailto:maer727@sohu.com]
> Sent: Saturday, April 20, 2002 2:44 PM
> To: hno@squid-cache.org
> Cc: squid-dev@squid-cache.org
> Subject: Re:Re: What means nocache_hack in Squid-2.5.PRE6?
>
>
> Thanks, Henrik pal!
>
> What means "circument" in your reply? I look up in dictionary
> but failed. I am a newbie
>
> Best regards,
> George, Ma
>
> ----- Original Message -----
> From: Henrik Nordstrom
> To: maer727@sohu.com ;squid-dev@squid-cache.org
> Cc: squid-dev@squid-cache.org
> Subject: Re: What means nocache_hack in Squid-2.5.PRE6?
> Sent: Sat Apr 20 04:01:05 CST 2002
>
> > no_cache == when the HTTP request indicates we should/must
> bypass the
> > cache.
> >
> > nocache_hack == when squid.conf is configured to circument the
> > no_cache HTTP criteria..
> >
> >
> > if (no_cache) {
> > #if HTTP_VIOLATIONS
> > if (Config.onoff.reload_into_ims)
> > request->flags.nocache_hack = 1;
> >
> > This is reload_into_ims. See squid.conf..
> >
> > else if (refresh_nocache_hack)
> > request->flags.nocache_hack = 1;
> >
> > And this refers to similar things, but from refresh_pattern. See
> > cache_cf.c and refresh_pattern in squid.conf..
> >
> >
> > Hint: Whenever you see Config.<something> then see cf.data.pre to
> > locate the squid.conf directive for configuring this item.
> >
> > Regards
> > Henrik
> >
> >
> >
> > On Friday 19 April 2002 10:43, maer727@sohu.com wrote:
> > > Hi, pals!
> > >
> > > I search "hack" in squid.conf but failed.
> > >
> > > What is the meaning and function of nocache_hack?
> > >
> > > Btw: nocache resides in client_side.c,
> clientProcessRequest2, line
> > > 2232.
> > >
> > > Best regards,
> > > George, Ma
>
>
Received on Fri Apr 19 2002 - 22:51:36 MDT

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