HttpResponseBase.CacheControl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Cache-Control
HTTP header that matches one of the HttpCacheability enumeration values.
public:
virtual property System::String ^ CacheControl { System::String ^ get(); void set(System::String ^ value); };
public virtual string CacheControl { get; set; }
member this.CacheControl : string with get, set
Public Overridable Property CacheControl As String
Property Value
The caching policy of the current response.
Exceptions
Always.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.