[squid-users] How to make squid proxy server cache response with vary: * in header?

Ulises Nicolini ulises at vianetcon.com.ar
Fri Nov 14 14:41:18 UTC 2014


HI All!!!

I'm building a system based on squid 2.7 for cache all software updates. 
I have a problem when the origin server response with vary:* in header, 
for example for this url (Chrome updates)

http://r20---sn-x1x7sn7r.c.pack.google.com/edgedl/chrome/win/BD7EFFAED0C46EB9/38.0.2125.111_chrome_installer.exe

Without  squid, use direct download, the response header has

HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 41100368
Content-Type: application/x-msdos-program
Etag: "4a5cd"
Server: downloads
Vary: *
x-content-type-options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Date: Sat, 08 Nov 2014 05:41:10 GMT
Alternate-Protocol: 80:quic,p=0.01
Last-Modified: Mon, 27 Oct 2014 18:10:00 GMT
Connection: keep-alive

If i use Squid in transparent proxy mode in the middle, i don't have 
hits for this url. ¿Can squid ignore the Vary header for store object in 
cache? Of course my refresh pattern has

# Cache Update
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

#Specific App
refresh_pattern -i 
\.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|pdf|tiff)$ 10080 90% 
43200 override-expire ignore-no-cache ignore-private

Thanks in Advance,

Ulises


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20141114/4c2d3136/attachment.html>


More information about the squid-users mailing list