Chapter 29. Caching Application Pages and Data
The slowest operation that you can perform in an ASP.NET page is database access. Opening a database connection and retrieving data is a slow operation. The best way to improve the performance of your data access code is not to access the database at all.
By taking advantage of caching, you can cache your database records in memory. Retrieving data from a database is slow. Retrieving data from the cache, on the other hand, is lightning fast.
In this chapter, you learn about the different caching mechanisms supported ...
Get ASP.NET 4 Unleashed 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.