I recommend dropping the category in UIImageView and creating your own version of SDWebImageManager. You will get more control if you yourself use the SDImageCache class.
Heres and an example directly from the SDWebImageManager itself:
[[SDImageCache sharedImageCache] storeImage:image imageData:downloader.imageData forKey:[downloader.url absoluteString] toDisk:NO];
toDisk, probably where I changed BOOL to NO, the default manager uses disk caching. You can also clear memory so often to support your streaming images:
[[SDImageCache sharedImageCache] clearMemory];
The SDWebImageManager code is easy to track, and I suppose you wonโt need to invent most of it, just a few important parts to satisfy your needs.
PaulWoodIII
source share