[squid-users] cache object with vary

joe chip_pop at hotmail.com
Sun Aug 28 17:36:11 UTC 2016


>If the above wasn't clear enough. This is how squid does it: 

> key: MD5("http://url.com/some.js") 
>data: vary-marker object ("Vary:Accept-Encoding", ...) 

 >key: MD5("http://url.com/some.js" + "accept-encoding=") 
 >data: no- Accept-Encoding variant response 

 >key: MD5("http://url.com/some.js" + "accept-encoding=identity") 
 >data: "identity" variant response 

 >key: MD5("http://url.com/some.js" + "accept-encoding=gzip") 
 >data: "gzip" variant response 

 >key: MD5("http://url.com/some.js" + "accept-encoding=deflate") 
 >data: "deflate" variant response 

 >key: MD5("http://url.com/some.js" + "accept-encoding=deflate,gzip") 
 >data: "deflate,gzip" variant response 

> key: MD5("http://url.com/some.js" + "accept-encoding=gzip,deflate") 
 >data: "gzip,deflate" variant response 
right so those example they shuld be separet file right depend on vary key
match
mmmmmmmmmmmmmmmm is that right ??
must be as you sayd the store-id then doing some funy things
im going to disable store id and test



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/cache-object-with-vary-tp4679220p4679229.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list