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


Please Help Members By Posting Answers For Below Questions

Why asp.net is used?

559


What is css and what is it used for?

556


What is http protocol and how it works?

532


Differentiate between authentication and authorization.

563


Describe the disadvantage of cookies.

599






How do I send an email message from my ASP.NET page?

533


What are the different validators in asp.net?

562


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

563


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

507


What is difference between asp state management and asp.net state management?

572


How to set the pane area to transparent of a scrollPane component.?

565


How does windows service lifecycle differ from a .standard. Exe?

514


how to transfer the file from client to server using asp.net

593


while developing webservices if i want some users to use my webservice only how can i give security to my webservice?

1409


What is asp.net web pages?

530