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

Attachment: signature.asc
Description: Detta är en digitalt signerad meddelandedel

Reply via email to