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 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.