<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    -----BEGIN PGP SIGNED MESSAGE----- <br>
    Hash: SHA256 <br>
     <br>
    But I think it will be quite sufficient to bring back one of the
    options HTTP violations, namely - "Ignore cache-control".<br>
    <br>
    That's all. The rest we do ourselves.<br>
    <br>
    22.10.2016 1:28, Yuri Voinov пишет:<br>
    <span style="white-space: pre;">><br>
      > 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.<br>
      ><br>
      ><br>
      > 22.10.2016 1:07, Eliezer Croitoru пишет:<br>
      > > Instead of modifying the code,<br>
      >       would you consider to use an ICAP service<br>
      ><br>
      >       > that will mangle this?<br>
      ><br>
      >       > I am unsure about the risks about doing so but why
      patch the<br>
      >       sources if you<br>
      ><br>
      >       > can resolve it with the current mainstream
      capabilities and<br>
      >       API?<br>
      ><br>
      ><br>
      ><br>
      >       > Eliezer<br>
      ><br>
      ><br>
      ><br>
      >       > ----<br>
      ><br>
      >       > Eliezer Croitoru
      <a class="moz-txt-link-rfc2396E" href="http://ngtech.co.il/lmgtfy/"><http://ngtech.co.il/lmgtfy/></a><br>
      ><br>
      >       > Linux System Administrator<br>
      ><br>
      >       > Mobile: +972-5-28704261<br>
      ><br>
      >       > Email: <a class="moz-txt-link-abbreviated" href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a><br>
      ><br>
      ><br>
      ><br>
      ><br>
      ><br>
      >       > From: squid-users<br>
      >       [<a class="moz-txt-link-freetext" href="mailto:squid-users-bounces@lists.squid-cache.org">mailto:squid-users-bounces@lists.squid-cache.org</a>] On<br>
      ><br>
      >       > Behalf Of Heiler Bemerguy<br>
      ><br>
      >       > Sent: Friday, October 21, 2016 18:21<br>
      ><br>
      >       > To: <a class="moz-txt-link-abbreviated" href="mailto:squid-users@squid-cache.org">squid-users@squid-cache.org</a><br>
      ><br>
      >       > Subject: Re: [squid-users] Caching http google deb
      files<br>
      ><br>
      ><br>
      ><br>
      ><br>
      ><br>
      >       > Hello,<br>
      ><br>
      >       > I've limited the "vary" usage and gained some hits
      by making<br>
      >       these<br>
      ><br>
      >       > modifications (in blue) to the http.cc code:<br>
      ><br>
      >       >     while (strListGetItem(&vary, ',',
      &item,<br>
      >       &ilen, &pos)) {<br>
      ><br>
      >       >         SBuf name(item, ilen);<br>
      ><br>
      >       >         if (name == asterisk) {<br>
      ><br>
      >       >         /*  vstr.clear();            <br>
      ><br>
      >       >             break; */<br>
      ><br>
      >       >             continue;<br>
      ><br>
      >       >         }<br>
      ><br>
      >       >         name.toLower();<br>
      ><br>
      ><br>
      ><br>
      >       >        if (name.cmp("accept", 6) != 0 &&<br>
      ><br>
      >       >           name.cmp("user-agent", 10) != 0)<br>
      ><br>
      >       >                continue;<br>
      ><br>
      ><br>
      ><br>
      >       >         if (!vstr.isEmpty())<br>
      ><br>
      >       >             vstr.append(", ", 2);<br>
      ><br>
      ><br>
      ><br>
      ><br>
      ><br>
      ><br>
      ><br>
      ><br>
      ><br>
      ><br>
      ><br>
      >       > _______________________________________________<br>
      ><br>
      >       > squid-users mailing list<br>
      ><br>
      >       > <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
      ><br>
      >       > <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
      ><br>
      ></span><br>
    <br>
    -----BEGIN PGP SIGNATURE-----
<br>
    Version: GnuPG v2
<br>
     <br>
    iQEcBAEBCAAGBQJYCnA/AAoJENNXIZxhPexGguEIAMKABEEHBNSO1+9ySQJJuEF1
<br>
    spOET1zeDEEWvkVPAAfiFZK/13hG3xDoAA1hX8gtyChFTgDszBJvlvNAI/4UKKKY
<br>
    uHZLm2HFxng1xTlyx0SD0CR00sXgk8mLQFl+JDeaZs8y7tQV+MNlZ+vJa9ox+xOO
<br>
    ZbCudWthgC6Jl4scYI82fmfPEk3GdTaMyqfzF23iNglQ+CxHWnhoKspsau6b244j
<br>
    yqSCjEsR7czZn7HEEeUkX0/7pYruz0+m8qleFgz1HW/Zcs5/i5M/szrow9BhUKqo
<br>
    GF9IViquTfJJSthYC0XF5oC3NTOY0rsRaQDoCA0KNgcG7fn8ddt74bIcA4j7mLk=
<br>
    =p36C
<br>
    -----END PGP SIGNATURE-----
<br>
    <br>
  </body>
</html>