HttpResponseBase.Cache Property

 

Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of the current Web page.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

abstract Cache : HttpCachePolicyBase with get
override Cache : HttpCachePolicyBase with get

Property Value

Type: System.Web.HttpCachePolicyBase

The caching policy of the current response.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: