<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>
    Try to use store-ID. Your URL seems dynamic. So, Squid never can
    cache it.<br>
    <br>
    Don't forget - Google, like many other web companies, actively
    counteracts caching. It is likely that you even Store ID will not
    help.<br>
    <br>
    <br>
    22.10.2016 14:53, Rui Lopes пишет:<br>
    <span style="white-space: pre;">> Hello,<br>
      ><br>
      > I'm trying to receive a cached version of
      googlechromestandaloneenterprise64.msi with:<br>
      ><br>
      > refresh_pattern googlechromestandaloneenterprise64\.msi 4320
      100% 4320 override-expire override-lastmod reload-into-ims
      ignore-reload ignore-no-store ignore-private<br>
      ><br>
      > and trying it with the following httpie command:<br>
      ><br>
      > https_proxy=<a class="moz-txt-link-freetext" href="http://10.10.10.222:3128">http://10.10.10.222:3128</a> http --verify=no -o
      chrome.msi
'<a class="moz-txt-link-freetext" href="https://dl.google.com/tag/s/appguid=%7B00000000-0000-0000-0000-000000000000%7D&iid=%7B00000000-0000-0000-0000-000000000000%7D&lang=en&browser=4&usagestats=0&appname=Google%20Chrome&needsadmin=true/dl/chrome/install/googlechromestandaloneenterprise64.msi">https://dl.google.com/tag/s/appguid=%7B00000000-0000-0000-0000-000000000000%7D&iid=%7B00000000-0000-0000-0000-000000000000%7D&lang=en&browser=4&usagestats=0&appname=Google%20Chrome&needsadmin=true/dl/chrome/install/googlechromestandaloneenterprise64.msi</a>'<br>
      ><br>
      > but squid never caches the response. it always shows:<br>
      ><br>
      > 1477125665.643   4040 10.10.10.1 TCP_MISS/200 50323942 GET
<a class="moz-txt-link-freetext" href="https://dl.google.com/tag/s/appguid=%7B00000000-0000-0000-0000-000000000000%7D&iid=%7B00000000-0000-0000-0000-000000000000%7D&lang=en&browser=4&usagestats=0&appname=Google%20Chrome&needsadmin=true/dl/chrome/install/googlechromestandaloneenterprise64.msi">https://dl.google.com/tag/s/appguid=%7B00000000-0000-0000-0000-000000000000%7D&iid=%7B00000000-0000-0000-0000-000000000000%7D&lang=en&browser=4&usagestats=0&appname=Google%20Chrome&needsadmin=true/dl/chrome/install/googlechromestandaloneenterprise64.msi</a>
      - HIER_DIRECT/216.58.210.174 <a class="moz-txt-link-rfc2396E" href="http://216.58.210.174"><http://216.58.210.174></a>
      application/octet-stream<br>
      ><br>
      > how can I make it cache?<br>
      ><br>
      > -- RGL<br>
      ><br>
      > PS I'm using squid 3.5.12-1ubuntu7.2 and my full squid.conf
      is:<br>
      > acl localnet src 10.0.0.0/8 <a class="moz-txt-link-rfc2396E" href="http://10.0.0.0/8"><http://10.0.0.0/8></a><br>
      > acl SSL_ports port 443<br>
      > acl Safe_ports port 80<br>
      > acl Safe_ports port 443<br>
      > acl CONNECT method CONNECT<br>
      > http_access deny !Safe_ports<br>
      > http_access deny CONNECT !SSL_ports<br>
      > http_access allow localhost manager<br>
      > http_access deny manager<br>
      > http_access allow localnet<br>
      > http_access allow localhost<br>
      > http_access deny all<br>
      ><br>
      > http_port \<br>
      >     3128 \<br>
      >     ssl-bump \<br>
      >     generate-host-certificates=on \<br>
      >     dynamic_cert_mem_cache_size=16MB \<br>
      >     key=/etc/squid/ssl_cert/ca.key \<br>
      >     cert=/etc/squid/ssl_cert/ca.pem<br>
      ><br>
      > ssl_bump bump all<br>
      ><br>
      > sslcrtd_program \<br>
      >     /usr/lib/squid/ssl_crtd \<br>
      >     -s /var/lib/ssl_db \<br>
      >     -M 16MB \<br>
      >     -b 4096 \<br>
      >     sslcrtd_children 5<br>
      ><br>
      > # a ~15 GiB cache (only caches files that have a length of 2
      GiB or less).<br>
      > maximum_object_size 2 GB<br>
      > cache_dir ufs /var/spool/squid 15000 16 256<br>
      ><br>
      > cache_store_log daemon:/var/log/squid/store.log<br>
      ><br>
      > shutdown_lifetime 2 seconds<br>
      ><br>
      > coredump_dir /var/spool/squid<br>
      ><br>
      > refresh_pattern googlechromestandaloneenterprise64\.msi 4320
      100% 4320 override-expire override-lastmod reload-into-ims
      ignore-reload ignore-no-store ignore-private<br>
      ><br>
      ><br>
      ><br>
      > _______________________________________________<br>
      > squid-users mailing list<br>
      > <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><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></span><br>
    <br>
    -----BEGIN PGP SIGNATURE-----
<br>
    Version: GnuPG v2
<br>
     <br>
    iQEcBAEBCAAGBQJYC0UaAAoJENNXIZxhPexGYM0H/RcmQBWc2A2b5FyRtlFBz3it
<br>
    rKWailKYibbTj//SLjj4C0lh1SlFvB5v64liLNEUAMg0KdXJbfm8isnvpatR6/Lx
<br>
    Hd44JIf87Xqy66IoQL9/LD/frrPf4XipDgBqHqKuijJVZqyXNSUBdlOZG23qF5th
<br>
    U1rJfCcjBw0eWBd5Qp46XVTYPtLIg1iYuUBQDqWM3EDLwAiUoI6LMnS1zas0LJyk
<br>
    hkKtMlVHLOAgSo/YHipvPuUzoWGUgmzGvInVo+dhyxN2c83jlm9HiJKWlQoUELo3
<br>
    mGFb0UgfsBz/8+bfZR6J9sC7YVJL4aErbeT1xvlnmVDNXYowoQCY82OAzqz0Yb4=
<br>
    =de5W
<br>
    -----END PGP SIGNATURE-----
<br>
    <br>
  </body>
</html>