nicklockwood / AsyncImageView

[DEPRECATED]
http://charcoaldesign.co.uk/source/cocoa#asyncimageview
Other
906 stars 186 forks source link

Explicitly loaded images do not appear to be getting cached at all. #28

Open nathan-munchery opened 11 years ago

nathan-munchery commented 11 years ago

I need to load a lot of images, most of which will not be visible for several seconds until the user decides to scroll down. As such, I build up a list of all of their URLs and do something like:

[[AsyncImageLoader sharedLoader] loadImageWithURL:imageURL];

for each one. I can verify that this runs, that all the HTTP requests hit my server, and that the appropriate notifications are posted and received upon success by the loader.

However, when I scroll the view downward to reveal an AsyncImageView instance whose imageURL has been set to one of the very same URLs I supposedly just prefetched (yes, I've double checked that they are not different in any way other than their memory addresses), I get an indeterminate loading progress spinner inside that view rather than the instantaneous display I would generally get if it were, in fact, cached.