GitHawkApp / GitHawk

The (second) best iOS app for GitHub.
http://githawk.com
MIT License
2.88k stars 382 forks source link

Attach SDWebImage cache to NSURLCache #1107

Open rnystrom opened 6 years ago

rnystrom commented 6 years ago

We set NSURLCache to nil here, but I think we might miss out on any caching of image data that passes through our embedded UIWebViews.

It'd be great to:

Ultimately this should result in faster image loading in web views, and loading images between web and other components faster & more efficient (e.g. #1106).

rnystrom commented 6 years ago

Had some ideas for this. Going to hack around w/ it.

rnystrom commented 6 years ago

See URLCache subclass in #1456, easy to use these cache hooks and supply/feed SDWebImage caches. Awesome!