I wanted to know what are some things I can consider / do to optimize load times of images within my nextJS project w/ Payload.
Currently...
- I am using supabase s3 to manage my images
- I am using
ImageMediato ensure I render them sized to the proper sizing that is optimal for current browser sizing. Here is a link to code I'm using for inspiration - I am using supabase postgresql
- I am using a Media collection that supports different upload format sizes to work inline with my
ImageMediacomponent. I am usingwebpformat is that one the best? - I am using vercel for hosting
Here is the link to my website so you can see the dark placeholder image stay longer than expected while waiting to render the image.
https://pipe-fitters.vercel.app/
cc/ @lofty lion
Pipe Fitters Plumbing
Fully licensed (Master Plumbing License #13115) and insured plumbing services with 20+ years of experience. Emergency services for commercial, residential, and HVAC needs across North Jersey.