System.Web
2.0.0.0
System.Configuration.ConfigurationSection
The class allows you to programmatically access and modify the OutputCache section.
Configures the output cache for a Web application. This class cannot be inherited.
Constructor
The constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the class by using the method.
Initializes a new instance of the class.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("enableFragmentCache", DefaultValue="True")
System.Boolean
To be added.
If the property is set to false, no user control output is cached, regardless of the OutputCache directive or caching profile used. For more information, see and .
Gets or sets a value indicating whether the fragment cache is enabled.
2.0.0.0
Property
2.0.0.0
System.Configuration.ConfigurationProperty("enableKernelCacheForVaryByStar", DefaultValue="False")
System.Boolean
To be added.
If static compression is enabled for the request but the client requested an uncompressed response, then kernel caching is disabled. Only compressed responses are cached in kernel.
Setting the property to true doesn’t ensure kernel caching of responses. Modules in the processing pipeline must set the kernel cache policy.
is introduced in the .NET Framework version 3.5. For more information, see The .NET Framework 3.5 Architecture.
Gets or sets a value indicating whether kernel caching is enabled.
Property
System.Configuration.ConfigurationProperty("enableOutputCache", DefaultValue="True")
System.Boolean
To be added.
If the property is set to false, no page is cached on the server, regardless of the settings in @ OutputCache directive or caching profile used by the page. For more information, see and .
Gets or sets a value indicating whether the output cache is enabled.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("omitVaryStar", DefaultValue="False")
System.Boolean
To be added.
The vary header indicates the request-header fields that the server uses to determine which of multiple cached responses are sent in response to a client request. The default for the property is false. By default, ASP.NET sends the vary header in all POST requests, as well as in all GET-request query strings. If the is true, ASP.NET omits the vary header when returning the response for cached pages, provided that the GET request to a response is cached with no VaryByCustom property and the POST request to a response is cached with no VaryByParam property and no VaryByCustom property.
Gets or sets a value indicating whether the vary header is enabled.
2.0.0.0
Property
System.Configuration.ConfigurationPropertyCollection
To be added.
To be added.
To be added.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("sendCacheControlHeader", DefaultValue="True")
System.Boolean
To be added.
The applies to content with no output caching specified. When it is set to false, the cache-control:private header is not sent by default.
This setting enables the content to be cached on the client by default.
Gets or sets a value indicating whether the cache-control:private header is sent by the output cache module by default.
2.0.0.0