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 ?



What are the different types of caching ?..

Answer / 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

More ASP.NET Interview Questions

Difference between connected architecture and Dissconnected architecture?

2 Answers  


How ASP and ASP.NET page works.

3 Answers  


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

0 Answers  


What are the various security methods which IIS Provides apart from .NET ?

1 Answers  


What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

0 Answers   Prompt Softech,


with which controls you worked in Asp.net 2.0?

2 Answers   HP, nTech Solutions,


Can asp.net work on an nt server?

0 Answers  


State differences between MVC and WebAPI

0 Answers  


What is the advantage of mvc over asp.net? : Asp.Net MVC

0 Answers  


List the major built-in objects in asp.net?

0 Answers  


wt is repeater control and wt is datalist control and wt defferences these two? i want some code in datalist?

1 Answers  


What is autopostback in asp net?

0 Answers  


Categories