Contents

NSURLRequest.CachePolicy.returnCacheDataDontLoad

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

Declaration

case returnCacheDataDontLoad

Mentioned in

Discussion

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.

See Also

Policies