Fixing default cache policy for URL requests objects in UIImageView category
This commit is contained in:
parent
0e93cf0840
commit
97191228e0
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ static char kAFImageRequestOperationObjectKey;
|
|||
- (void)setImageWithURL:(NSURL *)url
|
||||
placeholderImage:(UIImage *)placeholderImage
|
||||
{
|
||||
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url cachePolicy:NSURLCacheStorageAllowed timeoutInterval:30.0];
|
||||
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:30.0];
|
||||
[request setHTTPShouldHandleCookies:NO];
|
||||
[request setHTTPShouldUsePipelining:YES];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue