Page.InitOutputCache Method (OutputCacheParameters)
.NET Framework 3.0
This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes the output cache for the current page request based on an OutputCacheParameters object.
Namespace: System.Web.UIAssembly: System.Web (in system.web.dll)
protected void InitOutputCache ( OutputCacheParameters cacheSettings )
protected internal function InitOutputCache ( cacheSettings : OutputCacheParameters )
Not applicable.
Parameters
- cacheSettings
An OutputCacheParameters that contains the cache settings.
You should not call this method. To enable and manipulate output caching for a page, use either the @ OutputCache directive in the .aspx file, or the methods and properties of the HttpCachePolicy class. The latter are accessible through Response.Cache syntax in the page's code declaration block or code-behind file. For more information, see Caching ASP.NET Pages.
Community Additions
ADD
Show: