What is the proper (browser agnostic) way to disable page caching in ASP.NET MVC?
Try this:
[OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")] public ActionResult NonCacheableData() { return View(); }
2.1m questions
2.1m answers
60 comments
56.9k users