User Id :    Password :      New Member   Forgot Password  
Topic: What is Cache?
Sachin Jain
11 Oct 2010 at 04:50 AM
What is Cache?
Re: What is Cache?
Gaurav
11 Oct 2010 at 10:50 PM
Caching is about storing data in memory the first time it is requested and then re-using it for the following requests for a specified period of time.
ASP.NET provides you with two types of caching that you can use to create a high performance web application. The first type is application caching in which you can store application's data in server memory for subsequent requests without recreating them each time. This saves the time and the resources of your application. The second type is output caching. In this type you can save or let us say you can cache dynamic pages and / or user controls for subsequent requests without the need to execute them every time
.
Re: What is Cache?
Sakthivel
04 Oct 2012 at 11:02 AM

Caching enables you to store the expensive data into Cache object and later retrieve it without doing expensive operations. A very common example where you want to use caching is datagrid paging. I am sure you all are familiar with datagrid paging which enables you to view the records in multiple pages. Each time you visit a different page all the records are fetched from the database. This becomes very expensive operation. Caching can save a lot of expensive operations since you can store all the records in the cache object and use the cache object as the data source.

Re: What is Cache?
Sakthivel
04 Oct 2012 at 11:03 AM

Caching enables you to store the expensive data into Cache object and later retrieve it without doing expensive operations. A very common example where you want to use caching is datagrid paging. I am sure you all are familiar with datagrid paging which enables you to view the records in multiple pages. Each time you visit a different page all the records are fetched from the database. This becomes very expensive operation. Caching can save a lot of expensive operations since you can store all the records in the cache object and use the cache object as the data source.

Total Replies: 3
 
Featured Text Ad

Featured Ad