Caching is an extremely important technique for building high-performance, scalable Web server applications. The idea is simple: some items that are expensive to construct can be built once and used for a period of time before they are considered invalid. These items are stored in memory where they can be efficiently retrieved without incurring the cost of being reconstructed.
Straight out of the box, ASP+ offers a number of caching mechanisms that enhance Web application performance. For example, all ASP+ pages are compiled into an instance of the Page class and cached on the server; they are updated in the cache only when the page changes or the caching period expires. Additionally, configuration settings are read the first time an application is started and cached.
ASP+ also exposes caching services that allow developers to modify cache settings as needed. For more information, see the following topics: