RETURN_CACHE_DATA_DONT_LOAD constant

IOSURLRequestCachePolicy const RETURN_CACHE_DATA_DONT_LOAD

Use existing cache data, regardless or age or expiration date, and fail if no cached data is available.

If there is no existing data in the cache corresponding to a URL load request, no attempt is made to load the data from the originating source, and the load is considered to have failed. This constant specifies a behavior that is similar to an “offline” mode.

Implementation

static const RETURN_CACHE_DATA_DONT_LOAD =
    IOSURLRequestCachePolicy._internal(3, 3);