CacheControlHeaderValue::OnlyIfCached Property
.NET Framework (current version)
Whether a cache should either respond using a cached entry that is consistent with the other constraints of the HTTP request, or respond with a 504 (Gateway Timeout) status.
Assembly: System.Net.Http (in System.Net.Http.dll)
Property Value
Type: System::Booleantrue if a cache should either respond using a cached entry that is consistent with the other constraints of the HTTP request, or respond with a 504 (Gateway Timeout) status; otherwise, false.
This property represents the "only-if-cached" directive in a cache-control header field on an HTTP request.
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: