开发者

Data Caching in ASP.NET

开发者 https://www.devze.com 2023-01-05 20:43 出处:网络
I am a learner.I am learning Caching in ASP.NET.There are three types of caching开发者_开发技巧 in ASP.NET.

I am a learner.I am learning Caching in ASP.NET.There are three types of caching开发者_开发技巧 in ASP.NET.

1.Page output caching.

2.Partial Output caching.

3.Data Caching.

In Page output caching, all the rendered content of the page saved in Cache and page every time re-execute.

In Partial Output caching, we can apply caching rules on different parts of pages.

But Data Caching, I didn't understand.

Could anyone please explain me Data Caching?

Thanx in advance.


In simple terms data caching is storing data in memory for quick access. Typically information that is costly to obtain (in terms of performance) is stored in the cache. One of the more common items stored in a cache in a Web application environment is commonly displayed database values; by caching such information, rather than relying on repeated database calls, the demand on the Web server and database server's system resources are decreased and the Web application's scalability increased. As Microsoft eloquently puts it, "Caching is a technique widely used in computing to increase performance by keeping frequently accessed or expensive data in memory. In the context of a Web application, caching is used to retain pages or data across HTTP requests and reuse them without the expense of recreating them."

Read more : .NET Data Caching


It is about caching application data (using the Cache class) - persistence of some objects (values).

0

精彩评论

暂无评论...
验证码 换一张
取 消