rs/SDWebImage — Issue #36: SDWebImage and SDURLCache
Author: dqueffeulouatw
Created: 2011-10-19 10:43:51+00:00
State: open

Hi,

it seems that the SDURLCache cache doesn't work with SDWebImage because in SDWebImageDownloader :

NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:15];

To make it works I'm using :

NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:15];

Maybe it could exist some configuration to enable the SDURLCache ?