を設定されていない私は、次のアクションメソッドがあります。MVC3 OutputCache VaryByHeader =クッキー
[HttpGet, Authorize, OutputCache(Duration = 60, VaryByHeader = "Cookie", Location = OutputCacheLocation.Any)]
public ActionResult Index()
をしかし、私は要求を行う際に、これらが発行され、ヘッダーです:
Cache-Control: private, max-age=60, s-maxage=0
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Expires: Fri, 22 Jun 2012 09:56:32 GMT
Last-Modified: Fri, 22 Jun 2012 09:55:32 GMT
Vary: Accept-Encoding
なぜそれではありませんVaryのCookieヘッダを含む?
私はOutputCache
設定の多くのバリエーションを試みたが、無駄にしました:(