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
We need customization of features in Silverlight component plugin I have bought a Silverlight charting component for stock markets. Source code is available in C# besides is wel

Explain Component diagrams Package: - The Package logically make group of element of a UML model. Component: - It is the actual physical module or implementation of

What is the use of data adapter? The Data adapter are the objects that connect one or more Command objects to a Dataset object. They give logic that would get data from the dat

Why The JavaScript Validation Not Run on the Asp.Net? The Asp.Net Button Is post backed on the server & not yet Submit & when It goes to the server its states is lost so if we

What are the various ways of authentication techniques in ASP.NET? The Selection of  an authentication provider is as simple as making an entry in  the web.config file of  the

Project Description: We have a web based program prepared with .NET C# and Microsoft SQL Server. There are some reports needs to be created. Required Skills. - High Pro

What are tuples? Tuple is a fixed-size collection that can have elements of either similar or different data types. Same to arrays, a user must have to specify the size of a tu

What is a DataReader object? The DataReader object helps in retrieving the data from a database in a forward-only, read-only mode. The base class for all the DataReader objects

In this assignment you will create a Windows application that mimic the ILDASM application. Your application should have at least the following features: 1. A multi-form applica