react-native-expo-image-cache icon indicating copy to clipboard operation
react-native-expo-image-cache copied to clipboard

Cache entry downloaded multiple times

Open davidminor opened this issue 5 years ago • 0 comments

Hi, I notice if a particular image that is repeated multiple times, there will be multiple downloads of the image. It looks like while a single cache entry is created, calling getPath() on it multiple times will result in multiple downloads (until one of them has completed).

Maybe there could be a single promise for the cache entry which handles the downloading?

davidminor avatar Aug 21 '19 21:08 davidminor