CachePolicy
public enum CachePolicy
The constants used to specify interaction with the cached responses.
-
Always query from the network.
Declaration
Swift
case onlyNetwork -
Always query from the local cache.
Declaration
Swift
case onlyCache -
Firstly query from the network, if the result is failed, then query from the local cache.
Declaration
Swift
case networkElseCache
View on GitHub
Install in Dash
CachePolicy Enumeration Reference