How do I know if NSURLSessionDataTask is responding with its response from the cache?

How can I know if my NSURLSessionDataTask

request has satisfied it from the cache and has not gone over the network?

(I don't think this should make a difference, but I am creating the task using the standard one [NSURLSession sharedSession]

and am not setting up any custom instances NSURLCache

.)

+3


source to share





All Articles