CacheControlHeaderValue::NoCache Property
.NET Framework (current version)
Whether an HTTP client is willing to accept a cached response.
Assembly: System.Net.Http (in System.Net.Http.dll)
Property Value
Type: System::Booleantrue if the HTTP client is willing to accept a cached response; otherwise, false.
This property represents the "no-cache" directive in a cache-control header field on an HTTP request or HTTP response.
When the NoCache property is set to true present in a HTTP request message, an application should forward the request toward the origin server even if it has a cached copy of what is being requested.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: