playframework/Play20 — pull request #479 by jroper (2012-10-11 04:20:25+00:00)
Title: [#791] Added Vary: Accept-Encoding header

Assets that we can serve up as gzip, regardless of whether we do serve them up as gzip, need to have a Vary: Accept-Encoding header added to them, so that proxy servers can know how to cache them. This effectively means proxy servers will cache both the gzipped and the non gzipped version, and serve it to clients appropriately.