.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

What is Caching ?

Posted By :Syed Shakeer Hussain     Posted Date :June 28, 2009    Points :10   Category :ASP.Net 
Caching means temporary storage of data in memory that is highly-demanding and frequently used in order to accelerate performance and for quick access to various essential information.

They are 3 types of caching:
1. Page caching
2. Data caching
3. Fragment caching

1)Page caching is where the entire page is cached
2)Data caching is where the data in the page is cached
3)Fregment caching is where the elements of page is cached like header and footer.

You can also find related Interview Question to What is Caching ?  below: 

What is Fragment Caching in ASP.NET?

Fragment caching refers to the caching of individual user controls within a Web Form.
Each user control can have independent cache durations and implementations of how the caching behavior is to be applied.
Fragment caching is useful when you need to cache only a subset of a page.
Navigation bars, header, and footers are good candidates for fragment caching. (More...)

What is difference between System.Web.Caching.Cache and System.Web.HttpContext.Current.Cache ?

System.Web.Caching.Cache : Class/type used for caching
System.Web.HttoContect.Current.Cache : The instance of cache class for current HTTP context from a web request (Gets cache object from current application domain) (More...)

What are the caching techniques available?

Page cahahing;
Fragment Caching;
And Data Caching; (More...)

What is Fragmant caching in Asp.Net?

Fragment caching refers to the caching of individual user controls within a Web Form. (More...)

What is the difference between Application caching and session objects?

Session A session is the time for which a particular user interacts with a web application. During a session the unique identity of the user is maintained internally. A session ends if there is a session timeout or user ends sessionby logging out.Sessions may change from user to user.

Cache Caching 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 Cache will be applicable to the entire application through out it's life cycle return the same information in the same format for many different requests.

Application Its nothing but similar to Session with a bit difference that is Session objects have scope within a particular session while application objects having scope within entire application. Application are accessible only from code running within the context of the originating application. Other applications running on the system cannot access or modify the values.

What are the Types of Caching?

Out Put Caching , Fragment Caching and Data Caching (More...)

What is the Use of Caching And Caching Types in Asp.net?

Caching is used to improve the performance of a website...........

Types of caching in Asp.net:
1)Page Output caching
2)Page Fragment Caching
3)Data Caching (More...)

What are the different types of caching?

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 (More...)

what are the types of caching in ASP.NET

page output caching
page fragment caching
data caching (More...)

What are the different types of Caching in ASP.Net ?

Types of Caching

Caching in ASP.NET can be of the following types

. Page Output Caching
. Page Fragment Caching
. Data Caching (More...)

How does output caching work in ASP.NET?

Output caching is a powerful technique that increases request/response throughput by caching the content generated from dynamic pages. Output caching is enabled by default, but output from any given response is not cached unless explicit action is taken to make the response cacheable. (More...)

StructureMap caching in a WinForms app

Here are the types availible.

PerRequest - The default operation. A new instance will be created for each request. Singleton - A single instance will be shared across all requests ThreadLocal - A single instance will be created for each requesting thread. Caches the instances with ThreadLocalStorage. HttpContext - A single instance will be created for each HttpContext. Caches the instances in the HttpContext.Items collection. HttpSession - A single instance will be created for each HttpSession. Caches the instances in the HttpContext.Session collection. Use with caution. Hybrid - Uses HttpContext storage if it exists, otherwise uses ThreadLocal storage.

Needless to say other than singleton and Thread local, they seem pretty web specific. (More...)

How is Caching extended in asp.Net 4.0?

OutPut Cache in earlier versions of ASP.Net has a limitation - generated content always has to be stored in memory, and on servers that are experiencing heavy traffic, the memory consumed by output caching can compete with memory demands from other portions of a Web application.

ASP.NET 4 adds an extensibility point to output caching that enables you to configure one or more custom output-cache providers. Output-cache providers can use any storage mechanism to persist HTML content. This makes it possible to create custom output-cache providers for diverse persistence mechanisms, which can include local or remote disks, cloud storage, and distributed cache engines. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend