Image Optimization #667
Replies: 2 comments
-
I am handling this always native as 1 route to a mediaproxy with cache and 1 middleware for querying per device size. For blur-up consider https://blurha.sh |
Beta Was this translation helpful? Give feedback.
-
When your images are static assets, consider using squoosh. They also have a quite nice CLI. When your receiving your images from a CMS try to modify your CMS to serve images in different sizes / formats and use the srcset property or the picture element to serve the best image for the browser. Also, you can set |
Beta Was this translation helpful? Give feedback.
-
I'm considering how large images might impact Lighthouse scores and Core Web Vitals.
What are current recommended best practices for dealing with images?
The main feature I'm wondering about is serving the properly sized image for each device, but blur-up placeholders would also be useful.
Inspiration:
Beta Was this translation helpful? Give feedback.
All reactions