🚀 New post: Astro image optimization, on Vercel.
Hey all,
I recently moved my blog to Astro, and it's a fantastic tool. It gives me nostalgia when writing out components and pages because it's much closer to how it was like creating websites in the early 2000s. It is also blazing fast since it's not trying to be a single-page application, and the javascript payload size is minimal.
I was excited to see my performance scores after pushing the new site live, and they were just ok—a 70 to 90, depending on the page. I was hoping most pages, if not all, would score a 90 to 100. The most significant point deduction was due to my images.
In my old Gatsby blog, I built optimized images on the build. Still, Astro did not have that capability yet, and I was thinking about using Vercel's image optimization API instead so I could optimize images on edge. Looking for resources online, I found little, so I created a blog once I had figured it out.
Check out the latest post about how I optimized my images in Astro on Vercel.
Cheers,
Jacob Lowe
PS. Let me know if you have any feedback for my newsletter. It's new, and I am just learning what to put in it.