UI Image Optimization

Hi everyone, looking to tap into your expertise for best practices when loading images that are a part of the UI. Of course there aren’t that many, however would it be most performant to:

  1. Upload the image directly to WeWeb
  2. Upload and store in something like CloudFlare Images & bind the URL
  3. Do step #2 then save the URL into a collection in Xano, make that collection static in Weweb, and bind from there? (assuming the pre-rendering might help here)

The first two are mostly same “performance wise”.
The third one is same, but might come with some latency, as you would fetch the collection first and then images also.

I’d say it depends on the usecase.