It seems that UIWebView doesn’t always call storeCachedResponse:forRequest: whenever it’s loading a resource. Does anyone know why? I am trying to cache images by using -[NSURLCache storeCachedResponse:forRequest:], it does most of the job fine, however in some cases UIWebView doesn’t call this method on page load where there are actually images on it.
It seems that UIWebView doesn’t always call storeCachedResponse:forRequest: whenever it’s loading a resource. Does
Share
As described here
NSURLConnectiondoesn’t callstoreCachedResponse:forRequest:if file size over 50kb(52428 bytes).Try ASIHTTPRequest caching.