[squid-users] Caching http google deb files
Yuri Voinov
yvoinov at gmail.com
Fri Oct 21 19:28:21 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
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 at ngtech.co.il
>
>
> From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On
> Behalf Of Heiler Bemerguy
> Sent: Friday, October 21, 2016 18:21
> To: squid-users at squid-cache.org
> Subject: Re: [squid-users] 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 at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJYCmxVAAoJENNXIZxhPexGj5AH/1GVTNwdJisRXBWSsD190zn5
GoEaYfpYnGczsUh3h3acbzIbeiAZ048NsKxJx/1wfutGeWSt8sLzLNVX+ej02kN1
oLnFh0WSQ4uwzZSrvFIe+j1lxumvugpeoA27wZaVaz4uRP8kDiOvnTnFRjevXSH5
jVHiZkP3BUSElB7Y9p+2GGDyE5AXFIRvF1kJ3GTDqIb90fvpw2K/ES3pKcj7LL8j
xJRgoyFg7b5tn5xnAPFiiJwwT+4fqIAqDgOL0AZpeLuBPqqXP/UGs5d1KnLWESvT
luxn4jxJYCcIqfvYC39PVSoXySBHPq58paQtz9wWLM1faDdHX6I78JVROp/Werk=
=b1xs
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161022/c2830710/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161022/c2830710/attachment.key>
More information about the squid-users
mailing list