CacheControlHeaderValue.NoStore 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.
Whether a cache must not store any part of either the HTTP request message or any response.
public:
property bool NoStore { bool get(); void set(bool value); };
public bool NoStore { get; set; }
member this.NoStore : bool with get, set
Public Property NoStore As Boolean
Property Value
true
if a cache must not store any part of either the HTTP request message or any response; otherwise, false
.
Remarks
This property represents the "no-store" directive in a cache-control header field on an HTTP request or HTTP response.
The purpose of the NoStore property is to prevent the inadvertent release or retention of sensitive information. This property applies to the entire message, and may be sent either in an HTTP request or a response.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för