Try this:
[OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")]
public ActionResult NonCacheableData()
{
return View();
}
More Related Contents:
- Dots in URL causes 404 with ASP.NET mvc and IIS
- How to extend available properties of User.Identity
- What are good candidates for base controller class in ASP.NET MVC?
- Visual Studio debugging/loading very slow
- ASP.NET MVC ActionLink and post method
- Can we pass model as a parameter in RedirectToAction?
- Difference between Repository and Service Layer?
- Writing/outputting HTML strings unescaped
- How to render a Section in a Partial View in MVC3?
- Could not load file or assembly ‘System.Web.Mvc’
- Logging raw HTTP request/response in ASP.NET MVC & IIS7
- Session null in ASP.Net MVC Controller Constructors
- Troubleshooting anti-forgery token problems
- MVC controller : get JSON object from HTTP body?
- Do I need to install MVC 3/4 on web server to run mvc application
- How to create controls dynamically in MVC 3 based on an XML file
- ASP.NET Core MVC: setting expiration of identity cookie
- DropDownListFor Not Selecting Value
- WebAPI Delete not working – 405 Method Not Allowed
- ActionLink htmlAttributes
- Castle Windsor Dependency Resolver for MVC 3
- The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value
- ASP.NET MVC posted file model binding when parameter is Model
- Strongly-Typed ASP.NET MVC with ADO.NET Entity Framework [closed]
- Razor Nested WebGrid
- Steve Sanderson’s BeginCollectionItem helper won’t bind correctly
- Best practice for ASP.NET MVC resource files
- MVC3 Validation – Require One From Group
- How can dynamic breadcrumbs be achieved with ASP.net MVC?
- ASP.Net MVC DisplayFormat