Accept-Encoding: gzip and the Vary header

Xavier Noria fxn at hashref.com
Thu Jun 4 13:41:32 UTC 2015


On Thu, Jun 4, 2015 at 3:11 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:

The problem with Vary is that it causes bad effects on shared caches, in
> particular, it normaly results in cache duplication.


You mean that if client A requests a resource with Accept-Encoding: gzip,
and client B without, and the resource has Cache-Control: public, then a
shared cache would store the compressed and uncompressed responses thus
having the content kind of repeated?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150604/7ac2d7f5/attachment.html>


More information about the nginx mailing list