CHAPTER 19

image

Caching

The ASP.NET Framework includes the application cache. At first glance, the application cache is similar to the application state data feature we described in Chapter 18—data that you place in the cache is available for all requests, irrespective of the user or session that they are associated with. The difference is that application state data exists for the life of the application, while the application cache gives you control over the data lifecycle, allowing you to define the circumstances under which data will be automatically removed from the cache.

Caching can be an important tool in improving the performance of your ...

Get Pro ASP.NET 4.5 in VB, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.