Hacker News
new
past
comments
ask
show
jobs
points
by
troupo
5 hours ago
|
comments
by
jonas21
5 hours ago
|
[-]
It can speed up the loading of the above-the-fold content because the images on the rest of the page can be loaded as the user scrolls closer to them.
reply
by
talim
5 hours ago
|
parent
|
next
[-]
You can do this with just the 'loading' attribute on img elements and let the browser handle it without the gratuitous animations:
<img loading="lazy" src="image.jpg" alt="..." />
reply
by
knorker
5 hours ago
|
parent
|
prev
|
[-]
So you agree that for text, it should NEVER be used. And you are
only
arguing for lazy loading of images?
reply