Showing posts with label Caching In Asp. Show all posts
Showing posts with label Caching In Asp. Show all posts

Tuesday, 18 November 2014

Caching In Asp.Net

Caching is the ability to store page output and data in memory for the first time it is requested and later we can quickly retrieve them for multiple, repetitious client requests. It is like keeping a copy of something for later use, so we can reduce the load factor on Web servers and database servers by implementing caching on a Web application.
Writing Code In C#
Cache.Add("dataset", dataset, null, System.Web.Caching.Cache.NoAbsoluteExpiration, new TimeSpan(0, 0, 60), System.Web.Caching.CacheItemPriority.Default, null);

Copyright © DotNet-Ashok