Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jeffmc
· 4y ago · 0 comments
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
Comments
[–]
tqkxzugoaupvwqr
4y ago
Nitpick: The image is loaded when it’s near the viewport so loading is likely finished when the user reaches the image.
[–]
couchand
4y ago
Thank you, this is exactly what I've been looking for and didn't know it.