Overview of
Caching:
Caching is one of the most interesting concepts and
operations in ASP.NET. If you can handle it, you can run any web application by
applying the caching concept depending on the requirements.
Caching is a technique of storing frequently used
data/information in memory, so that, when the same data/information is needed
next time, it could be directly retrieved from the memory instead of being
generated by the application.
One of the really cool features of ASP.NET is the caching.
With other technologies, caching usually requires some extra software or at
least complicated code, but with ASP.NET 2.0, it's easier than ever before. You
can use two different kinds of caching - output caching and standard caching.
The first one is the easiest, so let's start with that.
What a Cache does:
"A cache simply stores the output generated by a page
in the memory and this saved output (cache) will serve us (users) in the
future." That's it.
Types of caching:
- Output Caching
- Data Caching
- Object Caching
- Class Caching
- Configuration Caching
Comments
Post a Comment