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
Question: (a) Explain the Postback process as use with Web Forms. (b) Write extract codes to demonstrate how to store and retrieve values in: (i) a Session Object (ii)

Newly designed APK file for XBMC on an Android TV Box Project Description: We are seeking someone to have knowledge in Android's operating platform. We are a business that ma

What is Multi-tasking? It is a feature of the modern operating system with which we can run multiple programs at the same time for example Word, Excel etc.

Project Description: i have predefined template which contains all my user details and there order details We have to create a login where a user uploads data. MobileĀ  Nam

I need Online Slot Video Game For A Facebook Project Description: Prepare an online slot video game for a Face book promotion in order to attract new visits and Increase the

Briefly explain how the server control validation controls work? A validation control works by evaluating the value of an input server control on the page to see whether it mee

Howto create a simple stylesheet for a web application

Concept of Boxing and Unboxing The Boxing permits any value type to be implicitly converted to type object or to any other interface type implemented by the value type. The Box

Briefly explain the characteristics of value-type variables that are supported in the C# programming language. The variables that are based on value types directly contain valu

C# API to grab option price from CBOE web site Project Description: On the web page below, user will download option prices of Stock or Index. For example, if you put "VXX" i