[squid-users] How to cache Chrome Installer ?

Yuri Voinov yvoinov at gmail.com
Mon May 18 21:20:25 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
# Adobe/Java and other updates
acl adobe_java_updates urlpath_regex "/usr/local/squid/etc/urlregex.updates"
range_offset_limit none adobe_java_updates

store_id_access allow adobe_java_updates

store_id_program /usr/local/squid/libexec/storeid_file_rewrite
/usr/local/squid/etc/storeid.conf

refresh_pattern -i adobe.com/.*\.(zip|exe)    4320    80%    43200   
reload-into-ims
refresh_pattern -i java.com/.*\.(zip|exe)    4320    80%    43200   
reload-into-ims
refresh_pattern -i sun.com/.*\.(zip|exe)    4320    80%    43200   
reload-into-ims
refresh_pattern -i google\.com.*\.(zip|exe)    4320    80%    43200   
reload-into-ims
refresh_pattern -i macromedia\.com.*\.(zip|exe)    4320    80%   
43200    reload-into-ims

storeid.conf fragment:

^http:\/\/(.*)\/(.*)\/([0-9].*)\/(.*)\.*(zip|exe)$               
http://$1/$3/$4.$5
^https:\/\/(.*)\/(.*)\/([0-9].*)\/(.*)\.*(zip|exe)$               
https://$1/$3/$4.$5
^http:\/\/(.*)\/([0-9].*)\/(.*)\.*(zip|exe)$                   
http://$1/$3.$4
^https:\/\/(.*)\/([0-9].*)\/(.*)\.*(zip|exe)$                   
https://$1/$3.$4
^http:\/\/(.*?)\/(.*?)\.(jp(?:e?g|e|2)|gif|png|tiff?|bmp|ico|webp|flv|mp4|zip|exe)\?(?:.*?)$       
http://$1/$2.$3
^https:\/\/(.*?)\/(.*?)\.(jp(?:e?g|e|2)|gif|png|tiff?|bmp|ico|webp|flv|mp4|zip|exe)\?(?:.*?)$       
https://$1/$2.$3

urlregex.updates:

adobe\.com.*\.(zip|exe)
java\.com.*\.(zip|exe)
sun\.com.*\.(zip|exe)
google\.com.*\.(zip|exe)
macromedia\.com.*\.(zip|exe)


19.05.15 2:58, Stakres пишет:
> Hi All,
>
> Has someone of you already cached this object ?
>
*http://r8---sn-n4g-jqbe.gvt1.com/edgedl/chrome/win/776B03BEAFB2810D/42.0.2311.152_chrome_installer.exe*
>
> I know this is a dynamic object provided by Google, we tried with the
> StoreID by not yet able to get a TCP_HIT from Squid.
> If any idea, let me/us know, thanks in advance.
>
> Bye Fred
>
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/How-to-cache-Chrome-Installer-tp4671271.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJVWleZAAoJENNXIZxhPexGgmQH/jM/G6RdydgauRKfHh2NwBzr
sJ0wvfYtzbtJj73YbqixUvStSC4hMc0kvUnfpIjJ2miFXGvSTD3d4NWruwggL33F
qeELX6vkxpEtVfzesgwyxO1kg9dPTeo114ytZ73/WziyLUKz9s62loRiIdUZVfc+
WPlkJqXQTmXoRzZRerYi5692GJeLB2WjM0+dXLgDg7XiIzfu+xmOuk58aNev/cdH
xG9ObtZ/nGXD9BFHvVLBdC/i8ONgH66ogUOeXHVLBD+24PRzBqIt/ad8rjnD9sqq
zlTXr3+OZepzYW2DKkjnBYZYrukT16yis7w5e2gBQYaPTVzThqnTcZvC+icCiio=
=Z0ok
-----END PGP SIGNATURE-----



More information about the squid-users mailing list