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 |
Difference between connected architecture and Dissconnected architecture?
How ASP and ASP.NET page works.
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
What are the various security methods which IIS Provides apart from .NET ?
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
with which controls you worked in Asp.net 2.0?
2 Answers HP, nTech Solutions,
Can asp.net work on an nt server?
State differences between MVC and WebAPI
What is the advantage of mvc over asp.net? : Asp.Net MVC
List the major built-in objects in asp.net?
wt is repeater control and wt is datalist control and wt defferences these two? i want some code in datalist?
What is autopostback in asp net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)