Caching Content

  • Adam Freeman


Caching content is a natural extension of caching data, which I described in the previous chapter. Caching data allows you to generate content without having to calculate or load the data that a controller and view requires, which can be a good thing—but if the data hasn’t changed, then often the content produced by rendering the view won’t have changed either. And yet, the ASP.NET platform has to go through the entire request’s life cycle, which involves the MVC framework locating controllers, executing action methods, and rendering views—only to produce the same output as for the last request.


Action Method Cache Data Child Action Query String Server Cache 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Adam Freeman 2014

Authors and Affiliations

  • Adam Freeman
    • 1
  1. 1.PAUK

Personalised recommendations