GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 112 of 164    Print  
What is caching? What are different ways of caching in ASP.NET?

  
Total Answers and Comments: 5 Last Update: October 21, 2009     Asked by: avkdsiva 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 19, 2007 18:06:25   #1  
yv_harish        

RE: What is caching? What are different ways of cachin...
Caching is a technique of persisting the data in memory for immediate access to requesting program calls. This is considered as the best way to enhance the performance of the application.

Caching is of 3 types:

Output Caching - Caches the whole page.
Fragment Caching - Caches a part of the page
Data Caching - Caches the data

 
Is this answer useful? Yes | No
February 27, 2007 05:38:37   #2  
jayachandra        

RE: What is caching? What are different ways of cachin...
cache is a tecnique used to fast access of the requested page
input cache
output cache
fragment cache

 
Is this answer useful? Yes | No
March 06, 2007 22:40:19   #3  
shivaprasad lagisetty        

RE: What is caching? What are different ways of cachin...
Caching is the optimization techniq used to store the frequently used data to reduce the burden on the server. The data stored in the temporary caching memory when user request for data the request not go to server it will go to cache memory. It has some time with the help of duration attribute within that time if refresh the data come from cache instead of server.
< ouputcache true duration 360 >


Types:

1. Ouput cache

2. Fragment caching

3. Datacaching

 
Is this answer useful? Yes | No
March 23, 2007 00:42:49   #4  
Amit sharma        

RE: What is caching? What are different ways of cachin...
Caching is the process of frequently used data on the server to fulfill subsequnt request.
Types
1. output caching
2. page caching (user control)

 
Is this answer useful? Yes | No
October 21, 2009 05:53:41   #5  
kirangiet Member Since: June 2009   Contribution: 24    

RE: What is caching? What are different ways of caching in ASP.NET?
Caching: It is a technique of temporary storage of page or data on ClientSide or DownStream or ServerSide.(Ofcourse storing page on serverside doesn't make any sence still .NET provide us that option.)

Instead of fetching the required page from Central Server every time we can store the page on client Side or downstream.

There are three ways of caching in ASP.NET

1) Page Cache: Ment to cache whole page.
2) Fragment Cache: Ment to cache user controls.
3) Data Cache: Ment to cache small piece of data.

Based upon dependency also there are some classifications
1) Key Based Dependency
2) Time Based Dependency
3) File Based Dependency
4) SQL Cache Dependency

Below are the Possible values for Location Attribute inside OutputCache Page Directive.
1) Any
2) None
3) Client
4) Downstream
5) Server
6) ServerAndClient

I am not explaining each of them as it will take lot of space.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape