Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Search Your Question

Saturday, April 26, 2008

What are different types of caching in ASP.Net?

Caching is a technique widely used in computing to increase performance by keeping frequently accessed or expensive data in memory.

In context of ASP.Net web application, caching is used to retain the pages or data across HTTP requests and reuse them without the expense of recreating them.

ASP.NET has 3 kinds of caching strategies
1) Output Caching: Caches the dynamic output generated by a request. Some times it is useful to cache the output of a website even for a minute, which will result in a better performance.
2) Fragment Caching: Caches the portion of the page generated by the request.
3) Data Caching: Caches the objects programmatically.

No comments:

Archives