The OutputCache Attribute in ASP.NET MVC Application is used to cache the content returned by a controller action method for a specific time period , so that, if the subsequent request comes within that time period, then the content is going to be returned from the cache memory.
Read moreWhere is output cache stored in MVC?
By default, when you use the [OutputCache] attribute, content is cached in three locations: the web server, any proxy servers, and the web browser .
Read moreWhat is cache in ASP.NET MVC?
Caching is used to improve the performance in ASP.NET MVC. Caching is a technique which stores something in memory that is being used frequently to provide better performance . In ASP.NET MVC, OutputCache attribute is used for applying Caching.20 Haz 2017
Read moreHow can store data in cache in ASP.NET MVC?
Store data into Cache in ASP.NET MVC in ASP.NET MVC Above action method first checks for the null value in HttpContext. Cache[“MyDate”] and it its null then saves current date in the Cache. Next line simply keep the data from the Cache into ViewBag. DateTime.
Read more