skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search