HttpCachePolicy.SetCacheability Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method SetCacheability(HttpCacheability) Sets the Cache-Control header to one of the values of HttpCacheability.
Public method SetCacheability(HttpCacheability, String) Sets the Cache-Control header to one of the values of HttpCacheability and appends an extension to the directive.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft