-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 But I think it will be quite sufficient to bring back one of the options HTTP violations, namely - "Ignore cache-control". That's all. The rest we do ourselves. 22.10.2016 1:28, Yuri Voinov пишет: > > This is inappropriate. Just all we are need that to make the option "F*ck the RFC and f*ck anyone who opposes caching" in the SQUID. > > > 22.10.2016 1:07, Eliezer Croitoru пишет: > > Instead of modifying the code, > would you consider to use an ICAP service > > > that will mangle this? > > > I am unsure about the risks about doing so but why patch the > sources if you > > > can resolve it with the current mainstream capabilities and > API? > > > > > Eliezer > > > > > ---- > > > Eliezer Croitoru <http://ngtech.co.il/lmgtfy/> > > > Linux System Administrator > > > Mobile: +972-5-28704261 > > > Email: eliezer@xxxxxxxxxxxx > > > > > > > From: squid-users > [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On > > > Behalf Of Heiler Bemerguy > > > Sent: Friday, October 21, 2016 18:21 > > > To: squid-users@xxxxxxxxxxxxxxx > > > Subject: Re: Caching http google deb files > > > > > > > Hello, > > > I've limited the "vary" usage and gained some hits by making > these > > > modifications (in blue) to the http.cc code: > > > while (strListGetItem(&vary, ',', &item, > &ilen, &pos)) { > > > SBuf name(item, ilen); > > > if (name == asterisk) { > > > /* vstr.clear(); > > > break; */ > > > continue; > > > } > > > name.toLower(); > > > > > if (name.cmp("accept", 6) != 0 && > > > name.cmp("user-agent", 10) != 0) > > > continue; > > > > > if (!vstr.isEmpty()) > > > vstr.append(", ", 2); > > > > > > > > > > > > > _______________________________________________ > > > squid-users mailing list > > > squid-users@xxxxxxxxxxxxxxxxxxxxx > > > http://lists.squid-cache.org/listinfo/squid-users > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYCnA/AAoJENNXIZxhPexGguEIAMKABEEHBNSO1+9ySQJJuEF1 spOET1zeDEEWvkVPAAfiFZK/13hG3xDoAA1hX8gtyChFTgDszBJvlvNAI/4UKKKY uHZLm2HFxng1xTlyx0SD0CR00sXgk8mLQFl+JDeaZs8y7tQV+MNlZ+vJa9ox+xOO ZbCudWthgC6Jl4scYI82fmfPEk3GdTaMyqfzF23iNglQ+CxHWnhoKspsau6b244j yqSCjEsR7czZn7HEEeUkX0/7pYruz0+m8qleFgz1HW/Zcs5/i5M/szrow9BhUKqo GF9IViquTfJJSthYC0XF5oC3NTOY0rsRaQDoCA0KNgcG7fn8ddt74bIcA4j7mLk= =p36C -----END PGP SIGNATURE----- |
Attachment:
0x613DEC46.asc
Description: application/pgp-keys
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users