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(); }
1.4m articles
1.4m replys
5 comments
56.8k users