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
What is the AppFabric component? The AppFabric component is used to make access control and dole out messages across clouds and enterprises. It has a service-oriented architect

Write a C# program (C# console application) that plays a word game with the user. The program should ask the user to enter the following: • His or her name • His or her age

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.

Explain the concept of constructor? Constructor is a special method of a class, which is called automatically when the instance of a class is formed. It is created with the sam

What is DISCO? DISCO is a method developed by Microsoft to publish and discover Web services. It discovers URLs of all XML Web services located on a Web server and develops a

System Simulation - repost 2 Project Description: A. Prepare random numbers of the form: Case 1: Uniformly distributed random numbers (RNs) [range: 0.0-1.0] Case 2: Exp

Project Description: We are a small development house in Singapore, and have a project which is 90 percent complete; thud our previous developer could not finish due to other co

Question: (a) List the two main advantages of developing a Multitiered Web Applications. (b) Explain how Validation controls are used to validate forms. (c) Using com

Passport Authentication This is a centralized authentication service given by Microsoft that offers a single logon facility and membership services for participating sites. ASP

What are the different accessibility levels in .NET? The five levels of access modifiers are as follows:- Private: The members of the class only have the access.