SetCacheability Method

HttpCachePolicy.SetCacheability Method

 

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:
© 2016 Microsoft