Quantcast
Viewing latest article 6
Browse Latest Browse All 18

Specify a Vary: Accept-Encoding header in ASP.NET using web.config configuration.

Specify a Vary: Accept-Encoding header

The following publicly cacheable, compressible resources should have a "Vary: Accept-Encoding" header:

<system.webServer><httpProtocol><customHeaders><removename="Vary"></remove><addname="Vary"value="Accept-Encoding"></add></customHeaders></httpProtocol></system.webServer>

Viewing latest article 6
Browse Latest Browse All 18

Trending Articles