-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 22.10.2016 16:55, garryd@xxxxxxxxx пишет: > On 2016-10-22 13:53, Rui Lopes wrote: >> 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 [2] 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 [1] >> 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 >> >> >> >> Links: >> ------ >> [1] http://10.0.0.0/8 >> [2] http://216.58.210.174 > > Hi, > > It have already been well explained by Amos this month: > > http://lists.squid-cache.org/pipermail/squid-users/2016-October/012869.html > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users Good explanations do not always help to get a good solution. A person needs no explanation and solution. So far I've seen a lot of excellent reasons why Squid can not do so-and-so in the normal configuration. However, this explanation does not help in solving problems. Nothing personal, just observation. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYC0f6AAoJENNXIZxhPexGpygH/A0mzDuTYq4g1LCZjHJA0Cuu vZKf0+t/Z8dJtf6gKyhYDHH7IlByNJslPCOxWjx9b0ZnPuLAcMVp1rH9omzim93H IEUnBj+4iSxOD5NEzmdwauYy4McyUedZsJLpEIc0MS9RF2X/18xIljjrYW+Rl4I5 9t88NiQjlwqTGKqgm5hIzjgMQDQbxmLhITmeXuC4sebGl0o8y+rl1NdJ/cy+0s5B iCMb8PhqN8N/bmrHix6dIKhdktGVzyKyWiplPFymX21u0OLAwkbk2ZHYUzTCEX8G eT7Ot+hRmk7GxdjEm5rlurUTkhynViYuc/BnMsmSNGqJk5p/zJx7jv/wPdTJ6r8= =okUk -----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