Hacker News new | ask | show | jobs
by jeffmc 1322 days ago
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

2 comments

Nitpick: The image is loaded when it’s near the viewport so loading is likely finished when the user reaches the image.
Thank you, this is exactly what I've been looking for and didn't know it.