Output cache functionality, DOT NET Programming

How Output cache functionality is achieved?

The Output cache functionality is achieved by using the "OutputCache" attribute on ASP.NET page header. The syntax is shown below:

1) Vary By Param: - Caches differ version depending on input parameters send through HTTP POST/GET.

2) Vary By Header: - Caches differ version depending on the contents of the page header.

3) Vary By Custom:-Lets assume you customize the way the cache handles page variations by declaring the attribute and overriding the GetVaryByCustomString handler.

4) Vary By Control:-Caches differ versions of a user control based on the value of properties of ASP objects in the control.

Posted Date: 9/22/2012 2:07:31 AM | Location : United States







Related Discussions:- Output cache functionality, Assignment Help, Ask Question on Output cache functionality, Get Answer, Expert's Help, Output cache functionality Discussions

Write discussion on Output cache functionality
Your posts are moderated
Related Questions
The Problem with finalize is that the garbage collection has to make 2  rounds in order to remove the  objects which have finalize methods. The figure below will make things cle

Who is a stakeholder? The stakeholder is anyone who has something to gain or lose as a result of the completion or failure of the project or phase. The stakeholder is not on

What are the advantages of Distributed Processing? Benefits of distributed programming are:- a. Security/Encapsulation b. Faster Problem solving c. Distributed databas

What is the use of DataView? User-defined view of a table is contained in a DataView. A complete table or a small section of table depending on some criteria can be shown by an

Develop Outlook Add-In for all versions I need simple code for Outlook(express,2003,2007,2010,2013) Add-In with functionality to repeatedly send CC to the specified email(s), th

What are major events in GLOBAL.ASAX file? The Global.asax file, which is derived from the HttpApplication class, maintains a pool of the HttpApplication objects, & assigns the

Web-App Developer for Startup Project Description: I am seeking someone who is good at building dynamic sites that will run on both desktops and tablets. The core of the w

Question: (a) Give three key differences between the DetailsView and FormView controls. (b) The ASP.NET 2.0 Framework introduces the idea of validation groups. How Valida

Implement the service architecture using both .NET and Java technologies based on the following minimum requirements for this assessment. a.  The 'Parcel transaction service' mu

Perform Arithmetic operations on Floating Values - C# Program Hello, I've been trying so many codes for this but those codes didn't work well. Please write the code for Perfor