Chapter 16. Caching Output

After completing this chapter, you will be able to

  • Cache page content.

  • Improve the performance of Web applications by using output caching.

  • Manage the cached content through the OutputCache directive.

  • Manage the cached content through the HttpCachePolicy class.

This chapter covers ASP.NET support for caching output. Chapter 15 demonstrates what an impact data caching could make on your application. By avoiding round-trips to the database, you can make parts of your Web site run much faster than they otherwise would. In addition to data caching, however, ASP.NET supports output caching.

Now, after spending a bit of time watching the entire page-rendering process, you know it can be pretty involved. A lot happens between the ...

Get Microsoft® ASP.NET 4 Step by Step now with O’Reilly online learning.

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