HttpCachePolicy.SetCacheability Method (System.Web)

Switch View :
ScriptFree
.NET Framework Class Library
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.

Overload List

  Name Description
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
See Also

Reference