asp.net-mvcasp.net-mvc-3entity-framework-4output-cachingdata-caching

The best way for caching data in MVC 3 and EF 4


Which is the best way to caching data and page's output (both) in ASP.NET MVC 3 and EF 4? Is there any framework|library to this? Thanks to all;


Solution

  • ASP.NET MVC already provides output caching - check OutputCacheAttribute action filter. EF4 itself doesn't have any caching available but you can check caching wrapper to add caching of query results.