HttpCachePolicy.SetCacheability Method

 
System_CAPS_noteNote

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

Sets the Cache-Control HTTP header. The Cache-Control HTTP header controls how documents are to be cached on the network.

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

NameDescription
System_CAPS_pubmethodSetCacheability(HttpCacheability)

Sets the Cache-Control header to one of the values of HttpCacheability.

System_CAPS_pubmethodSetCacheability(HttpCacheability, String)

Sets the Cache-Control header to one of the values of HttpCacheability and appends an extension to the directive.

Return to top
Show: