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
Project Description: Step 1: Buy 1 share at existing market price (ex: buy 1 at 100.00) If 4 points profit then close position if not go to step 2 Step 2: if 2 point

How does CAS works? There are two key methods of CAS security policy- code groups and permissions. A code group contains assemblies in it in a manner that each .NET assembly is

The ADO.NET gives the SqlCommand object which gives the functionality of executing the stored procedures. CREATE PROCEDURE SelectByEmployee @FirstName nvarchar(200) AS Se

Checking for validity of an expression - C# Program Hello can you please provide me some examples regarding to the Checking for validity of an   expression in C#.

What is Full Trust? Your code is permitted to do anything in the framework, meaning that all (.Net) permissions are granted. The GAC has Full Trust because it's on the local HD

Advertizing Project Description: I am preparing a MLM business. I can need direct mailing and coupon books as a product in my website. Skills required are .NET, C# Program

The program is broke now but explains in text and printscreens the specific things i have to do to implement new bookies new sports and change settings for looking for arbs on two

In search of urgent assistance with loading an ASP.net website In search of assistance with loading an ASP.net website installation onto a new server, job will start nearly D

I need asp.net print page task Project Description: I have a little task on asp.net, I need to print a text data to receipt printer from web page, I used the subsequent code

Counting Number of Words in a String - C# Program Anyone can suggest me the output of the following program. using System;   class CountWords { public static void