开发者

Cocoa - Is there a way to check on whether not a cache exists for a NSURLConnection?

开发者 https://www.devze.com 2023-01-01 07:40 出处:网络
I would like to be able to log monitor/log when a local machine cache i开发者_如何学Cs being used or when the data is being drawn from the remote source.

I would like to be able to log monitor/log when a local machine cache i开发者_如何学Cs 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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消