How can I disable client side and proxy caching in ASP.NET MVC?

Try this:

[OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")]
public ActionResult NonCacheableData()
{
    return View();
}

Leave a Comment