[squid-users] Caching Google Chrome googlechromestandaloneenterprise64.msi

garryd at comnet.uz garryd at comnet.uz
Sat Oct 22 10:55:31 UTC 2016


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


More information about the squid-users mailing list