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 - 14:58:51 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:13 MST