views:

13

answers:

1

I would like to be able to log monitor/log when a local machine cache is being used or when the data is being drawn from the remote source.

is there a NSURLConnection.cacheExists method? Or better still one that shows the expiration date or other cache details?

+1  A: 

You can ask the shared NSURLCache object for a cached response for a request.

Peter Hosey