Hey,
It might be not understood but StoreID in squid 3.4.4 might help with that.
I noticed that you are using SLES which I do not have a build node for yet.
Since there are dynamic variables in the url it is hard to cache it.
Note that there are other options in the request and response that can
cause the object to be un-cachable.
I can think about a pattern for StoreID to be used.
^http:\/\/[\d\w\-]+\.c\.pack\.google\.com\/([\S]+)\?
http://google_packs.squid.internal/$1
Which should work for many cases even with no strict refresh_pattern.
One of the issues is that you will need to fetch the full object when a
206 request is being pulled throw squid.
Eliezer
On 04/14/2014 10:32 AM, Jasper Van Der Westhuizen wrote:
Hi all
I'm trying to cache chrome updates, but I see it always fetches over and
over again.
I have the following refresh pattern in my config.
refresh_pattern -i pack.google.com/.*\.(exe|crx) 10080 80% 43200
override-expire override-lastmod ignore-no-cache ignore-reload
reload-into-ims ignore-private
I see the following behavior in my logs. This is for the same
client(source). Multiple entries, like it gets downloaded over and over
again.
Logs:
1397459574.511 199 xxx.xxx.xxx.xxx TCP_MISS/302 1400 GET
http://cache.pack.google.com/edgedl/chrome/win/34.0.1847.116_33.0.1750.154_chrome_updater.exe - DEFAULT_PARENT/xxx.xxx.xxx.xxx text/html
1397459579.924 4794 xxx.xxx.xxx.xxx TCP_MISS/206 141330 GET
http://r2---sn-pn-woce.c.pack.google.com/edgedl/chrome/win/34.0.1847.116_33.0.1750.154_chrome_updater.exe? - DEFAULT_PARENT/xxx.xxx.xxx.xxx application/x-msdos-program
1397459591.067 548 xxx.xxx.xxx.xxx TCP_MISS/302 1400 GET
http://cache.pack.google.com/edgedl/chrome/win/34.0.1847.116_33.0.1750.154_chrome_updater.exe - DEFAULT_PARENT/xxx.xxx.xxx.xxx text/html
1397459596.709 4917 xxx.xxx.xxx.xxx TCP_MISS/206 283744 GET
http://r2---sn-pn-woce.c.pack.google.com/edgedl/chrome/win/34.0.1847.116_33.0.1750.154_chrome_updater.exe? - DEFAULT_PARENT/xxx.xxx.xxx.xxx
application/x-msdos-program
Is my refresh pattern incorrect?