[squid-users] Caching Google Chrome googlechromestandaloneenterprise64.msi

Rui Lopes rui.godinho.lopes at gmail.com
Sat Oct 22 08:53:41 UTC 2016


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 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
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 allhttp_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.pemssl_bump bump allsslcrtd_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 256cache_store_log
daemon:/var/log/squid/store.logshutdown_lifetime 2 secondscoredump_dir
/var/spool/squidrefresh_pattern
googlechromestandaloneenterprise64\.msi 4320 100% 4320 override-expire
override-lastmod reload-into-ims ignore-reload ignore-no-store
ignore-private
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161022/d80408bc/attachment-0001.html>


More information about the squid-users mailing list