Instance Property

cachePolicy

The request’s cache policy.

Declaration

var cachePolicy: URLRequest.CachePolicy { get set }

See Also

Working with a Cache Policy

typealias URLRequest.CachePolicy

An alias for the cache policy.

enum NSURLRequest.CachePolicy

The constants used to specify interaction with the cached responses.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software