AsyncImageView icon indicating copy to clipboard operation
AsyncImageView copied to clipboard

Image Caching Issue

Open Rahulgupta-cdnsol opened this issue 10 years ago • 3 comments

Hello Nick,

I'm getting issues in caching image , on each app launch from background then image again start downloading but it should come from cache because in last app session i have downloaded image successfully so please let me know how to restrict the app to download the image again when come back from background. Looking forward to your valuable feedback.

Rahulgupta-cdnsol avatar Jul 08 '14 07:07 Rahulgupta-cdnsol

That is expected if you use NSCache (memory caching).. it is cleared when the app goes to background. If you want your image persisted, save it to the cache folder...

bastianh avatar Jul 08 '14 08:07 bastianh

Can you suggest what needs to be done.

Rahulgupta-cdnsol avatar Jul 08 '14 10:07 Rahulgupta-cdnsol

Can you suggest what needs to be done.

tikamchandrakar18 avatar May 03 '16 09:05 tikamchandrakar18