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