Don’t block UI on image loading if possible. Use skeletons, progressive loading, or loading indicators, .etc. Optimize your loads to favor the most visible images first (e.g above the fold). Make sure you’ve got good cache and, if needed, image transformation pipeline set up. Pulling down a few MBs of images from edge cache will be speedy. I use Cloudflare for this. Haven’t played around with the Supabase offering.
> Key note: The model you pick is important; not all models are a good choice to be close to your database, as you don’t want to store LLM bloat, hallucinated values, and inaccurate fields that will be used in production. Highly deterministic models that are great at structured output are your best bet. Can you give me some examples of good models for this? That’s probably the most valuable piece to me.
Good spot.