#Images Load slow but why? I (think) am using proper tooling

2 messages · Page 1 of 1 (latest)

dire halo
#

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 ImageMedia to 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 ImageMedia component. I am using webp format 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.

GitHub

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for buildi...

sinful slateBOT