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

From: <maer727@dont-contact.us>
Date: Sat, 20 Apr 2002 20:52:39 +0800 (CST)

Thanks, Henrik pal!

You have clarified all my doubts. :-)

Best regards,
George Ma

----- Original Message -----
From: Henrik Nordstrom
To: maer727@sohu.com ;robert.collins@itdomain.com.au
Cc: squid-dev@squid-cache.org
Subject: Re:RE: Re: What means nocache_hack in Squid-2.5.PRE6?
Sent: Sat Apr 20 19:32:57 CST 2002

> One way to read it.
>
> Regards
> Henrik
>
> On Saturday 20 April 2002 07:49, maer727@sohu.com wrote:
> > Thanks, Rob pal!
> >
> > I think "circumvent" here means "violate" the HTTP criteria.
> > Am I correct?
> >
> > Best regards,
> > George Ma
> >
> > ----- Original Message -----
> > From: Robert Collins
> > To: maer727@sohu.com ;hno@squid-cache.org
> > Cc: squid-dev@squid-cache.org
> > Subject: RE: Re: What means nocache_hack in Squid-2.5.PRE6?
> > Sent: Sat Apr 20 12:51:32 CST 2002
> >
> > > 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 Sat Apr 20 2002 - 06:52:45 MDT

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