Types of caching. How to implement caching?
Answers were Sorted based on User's Feedback
Answer / chandra
ASP.NET Caching Features
ASP.NET Web Applications
------------------------------------------------------------
--------------------
When clients access an ASP.NET page, there are basically
two ways to provide them with the information they need:
the ASP.NET page can either obtain information from server
resources, such as from data that has been persisted to a
database, or
the ASP.NET page can obtain information from within the
application.
Retrieving information from a resource outside the
application will require more processing steps, and will
therefore require more time and resources on the server
than if the information can be obtained from within the
application space.
If the information that will be sent to the browser has
already been prepared by a previous request, the
application will be able to retrieve that information
faster if it has been stored in memory, somewhere along the
request/response stream.
Known as caching, this technique can be used to temporarily
store page output or application data either on the client
or on the server, which can then be re-used to satisfy
subsequent requests and thus avoid the overhead of re-
creating the same information.
Caching is particularly suitable when you expect to return
the same information in the same format for many different
requests.
ASP.NET provides the following types of caching that can be
used to build highly responsive Web applications:
Output caching, which caches the dynamic response generated
by a request.
Fragment caching, which caches portions of a response
generated by a request.
Data caching, which allows developers to programmatically
retain arbitrary data across requests.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sadanandam
there are 3 types of caches is there they ara 1)page caching
2)page fragmentaion caching3)data caching
in case of the page caching the total page will be cached
for certain amount of time(i.e the time will declared by
ourself)and in case of page fragmentation caching only a
part of the data will be cached for some amount of time
Data caching, which allows developers to programmatically
retain arbitrary data across requests
| Is This Answer Correct ? | 5 Yes | 0 No |
What are the Types of state management techniques
What is the Custom Error in ASP.NET?
2 Answers ABB, IBM, Infosys, Tech Mahindra,
Explain different types of validators in asp.net?
What is session mode in asp.net?
what is the differance between native code & managed code?
What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?
What is cas?
Do you support digital rights management to protect my videos?
Define the types of configuration files.
What are the best practices to follow to secure connection strings in an ASP.NET web application?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?
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)