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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.