Check SDWebImageCacheMemoryOnly for disk caching
This commit is contained in:
parent
e7c02bb910
commit
42c7455776
|
@ -113,7 +113,8 @@
|
|||
}
|
||||
else if (downloadedImage && finished)
|
||||
{
|
||||
[self.imageCache storeImage:downloadedImage imageData:data forKey:key toDisk:YES];
|
||||
const BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly);
|
||||
[self.imageCache storeImage:downloadedImage imageData:data forKey:key toDisk:cacheOnDisk];
|
||||
}
|
||||
|
||||
if (finished)
|
||||
|
|
Loading…
Reference in New Issue