react-native-fast-image
react-native-fast-image copied to clipboard
Add way to check if an image is cached.
I want to load a low quality image if user is on mobile data. However, if the high quality image is already cached, then show the high quality image. Any way to find out if a particular image is cached already or not?
It would be a new feature.
We could add something like: FastImage.isCached(url).then(res => ...)
Another potential feature that could solve this would be something like a cache only mode.
@DylanVann it will be very useful, especially with a fading transition when the image is loaded. Currently, the fading transition is always applied, if we can check if the image is in the cache, we could apply the transition only the first time.
Any work being done towards this?
5 years later and still not implemented?
+1