Types of caching. How to implement caching?
Answer Posted / 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 |
Post New Answer View All Answers
How many types of cookies are there in asp.net?
Describe in brief .net framework and its components.
What is the difference between client-side and server-side validations in webpages?
If you want to write your own dot net language, what steps you will you take care?
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
in which protocol ASP.NET WEB API Work?
What is aspect-oriented programming?
What are the types of caching in asp.net?
When should I use server transfer and response redirect?
Where is the view state data stored?
What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?
When cookie will expire?
Define repository pattern in mvc.net? : asp.net mvc
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?
Define globalization and localization.