Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the different types of caching ?

Answer Posted / bhim bharti

Caching is a technique widely used in computing to increase performance by keeping frequently accessed or expensive data in memory. In context of 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 strategiesOutput CachingFragment CachingData
CachingOutput 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. For caching the whole page the page should have OutputCache directive.<%@ OutputCache Duration="60" VaryByParam="state" %>
Fragment Caching: Caches the portion of the page generated by the request. Some times it is not practical to cache the entire page, in such cases we can cache a portion of page<%@ OutputCache Duration="120" VaryByParam="CategoryID;SelectedID"%>
Data Caching: Caches the objects programmatically. For data caching asp.net provides a cache object for eg: cache["States"] = dsStates;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the cookies types in asp.net?

1001


Can we handle the error and redirect to some pages using web.config?

1610


What are the memory-mapped files?

997


How do you open a page in a new window?

977


What is app_code folder in asp net?

1043


How you can access the values from the Repeater control in ASP.NET?

1056


What parameters can you pass in the url of the api? Can get and post use the same url?

974


What is the function of the ViewState property?

1019


What is enableviewstate in asp net?

938


What do you mean by authentication?

1054


What is user control in asp.net?

1076


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

961


How to find last error which occurred?

1027


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1851


What is difference between viewstate and session state in javascript?

1094