Lazy Loading vs Infinite Scroll
People think lazy loading and infinite scroll are the same trick, and they are not. Lazy loading waits to fetch a picture that is already part of the page until you scroll near it. Infinite scroll adds new items to the end of the page as you reach the bottom. A feed often uses both at once.
Lazy Loading
Pictures and code that load late, just as the reader gets near them.
Lazy loading means a page waits to load a thing until the reader is about to need it. Pictures far down a long page are not fetched at first. As the reader scrolls near one, the browser fetches it. In HTML, you add loading="lazy" to an image or an iframe. The page shows up sooner and uses less data. The same idea applies to code that a page loads in parts.
Infinite Scroll
A page that adds more as you reach the end. So it never runs out.
Infinite scroll loads more content on its own as people reach the bottom of a page, so the list never ends. It suits feeds people browse for fun, like social media and photo walls. It is poor for tasks: people cannot find their place again, and the footer can never be reached. Pages of results or a Load more button work better there.
In one line
- Lazy Loading
- Pictures and code that load late, just as the reader gets near them.
- Infinite Scroll
- A page that adds more as you reach the end. So it never runs out.
These live in different corners of the glossary (Development and Design), which is exactly why they get confused.