Hello I am using the SDWebImage framework in a project and I want to download and cache images, but I think my code is storing an image in the cache twice? Is there any way
SDWebImage caches the image both to disk as well as memory. Let's go through this:
So, you don't need to worry about caching. SDWebImage takes care of it pretty damn well.
You can do custom implementation for caching as well as image refresh from the cache in case you want the settings as per your HTTP caching header as well.
You can find the complete details on their github page here.