News for hackers. Stuff that matters.
Re:Optimizing Images with the HTML Tag by jeffmc on Sunday October 30, 2022 @03:43PM (#33397889)
For me the biggest win in pages with lots of images is the img loading=lazy flag- https://developer.mozilla.org/en-US/docs/Web/Performance/Laz...

This only loads the image when it scrolls into view

Re:Optimizing Images with the HTML Tag by tqkxzugoaupvwqr on Sunday October 30, 2022 @05:30PM (#33398941)
Nitpick: The image is loaded when it’s near the viewport so loading is likely finished when the user reaches the image.
Re:Optimizing Images with the HTML Tag by couchand on Sunday October 30, 2022 @10:17PM (#33401325)
Thank you, this is exactly what I've been looking for and didn't know it.