Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.26 KB

httpcachereadbehavior.md

File metadata and controls

42 lines (28 loc) · 1.26 KB
-api-id -api-type
T:Windows.Web.Http.Filters.HttpCacheReadBehavior
winrt enum

HttpCacheReadBehavior

-description

Indicates if read requests by class methods in the Windows.Web.Http and Windows.Web.Http.Filters namespaces use the local HTTP cache for the response.

-enum-fields

-field Default:0

Always use the cache algorithm specified in RFC 2616 by the IETF to optimize network bandwidth.

-field MostRecent:1

Use the local HTTP cache if possible but always ask the server if more recent content is available.

The server returns an HTTP status code of 200 (OK) or 304 (Not Modified) when the local content is the most recent.

-field OnlyFromCache:2

Only use data from the local HTTP cache. This is the offline behavior.

-field NoCache:3

Do not use cache nor do a conditional request. This ensures that all HTTP requests go directly to the server.

-remarks

Version history

Windows version SDK version Value added
1607 14393 NoCache

-examples

-see-also

HttpCacheControl