RequestCachingSection.DefaultHttpCachePolicy Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the default caching behavior for the local computer.

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

member DefaultHttpCachePolicy : HttpCachePolicyElement with get

Property Value

Type: System.Net.Configuration.HttpCachePolicyElement

A HttpCachePolicyElement that defines the default cache policy.

Unless the DisableAllCaching property is set to true, the policy returned by this property overrides the policy set in the DefaultPolicyLevel property.

.NET Framework
Available since 2.0
Return to top