ascoders / react-native-image-viewer

🚀 tiny & fast lib for react native image viewer pan and zoom
MIT License
2.44k stars 578 forks source link

Caching is not supported #343

Closed ES1993 closed 4 years ago

ES1993 commented 4 years ago

Every time you open Modal, you need to retrieve the requested image to get the attributes of the image. This is a very foolish way to make the experience of thieves bad. It's good to browse the local image. Oversize of the network image is a kind of torture, hoping to support caching.

ES1993 commented 4 years ago

I apologize for my remarks. When I used the real machine, the cache was successful. I think it might be the reason of the simulator. I'm very sorry.

ascoders commented 4 years ago

It doesn't matter. Environmental problems are hard to detect.

cybercoder commented 4 years ago

It is possible to use react-native-image-cache-wrapperinside and control cache expiration.