I use Firebase for my backend but every time when the app request the image URL it loads very slow. How can I speed up this procedure? Or which CDN provider can I use in my React Native project to load images faster than now?
Thank you
I tried to request the URL from different sites but still slow load
2
Answers
I had the same problem, what I did was I reduced the image size hence reducing its file size. This will help your image to load faster.
The quality will drop a bit for sure, but as long as it looks nice on your phone it should be fine.
You can try to use https://github.com/DylanVann/react-native-fast-image because RN Image doesn’t support cache and loads an image every time you mount a component.