Hacker News new | ask | show | jobs
by kaycebasques 2488 days ago
For anyone hearing about loading=“lazy” for the first time from this article , I’ll reiterate the main idea because the article doesn’t go into much depth about the motivation.

The main idea is that some pages use a lot of cellular data to load images that are further down the page, out of the viewport. If the user glances at the page and decides it’s not relevant and exits, then those offscreen images were just a waste of cellular data. loading=“lazy” addresses this problem by deferring the image loads until the user has scrolled the page and the image is soon to be in the viewport.

Disclosure: I write the Chrome DevTools docs

1 comments

The demo on the page clearly shows a delay between the start of the load and the actual display of the image. So "soon to be in the viewport" should be quite sooner.