HttpResponse.Cache Property
.NET Framework (current version)
Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of a Web page.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Web.HttpCachePolicyAn HttpCachePolicy object that contains information about the caching policy of the current response.
The following example writes properties of the current cache policy to the HTTP output stream.
.NET Framework
Available since 1.1
Available since 1.1
Show: