4 ms·
I could be wrong, but as of iOS5, NSURLConnection does disk caching by default, and therefore so does AFNetworking. Source: http://petersteinberger.com/blog/201
by matthavener 14y ago
I could be wrong, but as of iOS5, NSURLConnection does disk caching by default, and therefore so does AFNetworking. Source: http://petersteinberger.com/blog/2012/nsurlcache-uses-a-disk-cache-as-of-ios5/ http://petersteinberger.com/blog/2012/nsurlcache-uses-a-disk...
- jazzychad 14y agoYes, There is disk caching for NSURLConnection by default, but in my experience it does not cache it across app restarts, so each time the app starts again all the images have to be fetched all over again... SDWebImage gives the persistent disk caching I want. If I'm misunderstanding what's happening please let me know...
- matttthompson 14y agoNSURLCache does disk caching in iOS 5 and up, but only for http (no https) requests. Use SDURLCache if you want more options there.