开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜