Shazwazza / ClientDependency

DEPRECATED. A library for managing CSS & JavaScript dependencies and optimization in ASP.Net
139 stars 65 forks source link

Vary: Accept-Encoding #114

Closed allyen closed 7 years ago

allyen commented 7 years ago

Hi, according to tools.pingdom.com, a "Vary: Accept-Encoding" header should be set to a compressed output of CD in order for caching along the way to work properly (https://www.maxcdn.com/blog/accept-encoding-its-vary-important/). However CD only sets the "Content-encoding" header according to the compression method used, not the "Vary" header. Will post a pull request shortly...