Output caching in ASP.NET MVC3 Actions with ActionFilters
How do we do OutPut Caching in ASP.NET MVC3 ?
We haven an ActionFilter called "OutputCache" which we can apply on our controller action methods to achieve this.
Just mention this attribute above your ActionMethod.
the above code will cache the action method called "CachingTest" for 10 seconds.