O'Reilly logo

C#® Developer's Guide to ASP.NET, XML, and ADO.NET by Chris Kinsman, Jeffrey P. McManus

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

Caching

Do you have a page on your Web site that is built from the database, but the data changes only once a day? Perhaps you have a busy order page that must populate a list of states and countries out of the database several thousand times a day. How often do you need to add a new state? Clearly, these sorts of updates happen very infrequently. Are you hitting the limits of how far you can scale your database server? Are you looking for ways to reduce the load instead of spending $100,000 to upgrade the server? These are the types of scenarios where it makes sense to take a hard look at caching.

Output Caching: Caching an Entire Page

The simplest type of caching in ASP.NET is called output caching. Output caching takes the results from an ...

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