<div dir="ltr">Hello!<div><br></div><div>Before Nginx 1.7.7, the file name in a cache was a result of applying the MD5 function to the cache_key.</div><div><br></div><div>Now the file name, when Vary header is present in a response of the proxied request, is not the MD5 of the cache_key anymore.</div><div><br></div><div>The above requests generate two different cache files (response header include <b>Vary: Accept-Encoding</b>):</div><div><br></div><div><div>curl -H 'Accept-Encoding: gzip' <a href="http://example.com/script.js">http://example.com/script.js</a> </div><div>curl <a href="http://example.com/script.js">http://example.com/script.js</a><br></div><div><br></div><div><b>proxy_cache_key: </b>$scheme://$http_host$uri$is_args$args</div><div><br></div><div><br></div><div>How is calculated the file name in this case?</div><div><br></div><div>Tks,</div><div><br></div><div>Guilherme</div><div><br></div></div></div>