CHAPTER 20

image

Caching Output

In the previous chapter, we showed you how you can use the application data cache to store data that you need to create output from your Web Forms and controls. In this chapter, we show you how you can cache and reuse the entire response, avoiding the need to instantiate a request handler and generate a response.

Output caching in ASP.NET is interesting and painful in equal parts—you can do a lot to improve the performance of your application but there are some deep-rooted limitations that make changing the default behavior difficult and a little frustrating. We’ll show you the good parts and the bad and give you guidance ...

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.