O'Reilly logo

ASP.NET Site Performance Secrets by Matt Perdeck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Caching

Caching lets you store web pages on the visitor's browser, intermediate proxies, and in server memory. It also lets you store data objects in server memory. This way, there is no need to regenerate these items for every individual web page request. As a result, you improve responsiveness and reduce the load on the CPU and database.

ASP.NET's caching feature is very easy-to-use, requiring only a simple line to cache a web page. Server memory is cheap, and browser and proxy memory cost you nothing. That makes caching a low cost, high-payoff way to improve performance.

This chapter takes you through the five types of caching, and shows how to use them:

  • Browser caching: Lets you store files in the browser cache itself, so that there ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required