title: How to cache data in a MVC application
body: <p>I have read lots of information about page caching and partial page caching in a MVC application. However, I would like to know how you would cache data.</p>
  
  <p>In my scenario I will be using LINQ to Entities (entity framework). On the first call to GetNames (or whatever the method is) I want to grab the data from the database. I want to save the results in cache and on the second call to use the cached version if it exists.</p>
  
  <p>Can anyone show an example of how this would work, where this should be implemented (model?) and if it would work.</p>
  
  <p>I have seen this done in traditional ASP.NET apps , typically for very static data.</p>