mirror of
https://github.com/SDWebImage/SDWebImage.git
synced 2026-04-07 19:27:40 +00:00
prevent caching of responses in Cache.db
This commit is contained in:
@@ -253,6 +253,12 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
|
||||
self.imageData = nil;
|
||||
}
|
||||
|
||||
//prevent caching of responses in Cache.db
|
||||
- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
#pragma mark SDWebImageDecoderDelegate
|
||||
|
||||
- (void)imageDecoder:(SDWebImageDecoder *)decoder didFinishDecodingImage:(UIImage *)image userInfo:(NSDictionary *)aUserInfo
|
||||
|
||||
Reference in New Issue
Block a user