Re: [squid-users] Configure squid to ignore nocache directives

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 13 Apr 2006 11:42:25 +0200

tor 2006-04-13 klockan 15:09 +0530 skrev Ramprasad:

> http://www.squid-cache.org/mail-archive/squid-users/199909/0328.html
>
> I found one patch here, too bad the patch fails on squid 2.5. I will
> have to re-engineer this patch.

Should be trivial to apply by hand to 2.5.

Note: The if condition should be

 if (!R || R->...)

not

 if (R && R->...)

But you need a little more than this patch. Each of the "return 0"
conditions in this function is conditions where responses are not
cached. The referenced patch only addresses "Cache-Control: no-cache".

Regards
Henrik

Received on Thu Apr 13 2006 - 03:42:38 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT