DEV Community

loading...

Discussion on: Native lazy-loading of images with zero Javascript

Collapse
andrewbridge profile image
Andrew Bridge

Probably worth mentioning that this is best used for images which aren't going to be visible on page load. I've actually observed page performance in Lighthouse, and in turn Google's search console ranking, drop if there are too many images "above the fold" using loading="lazy" as it detects it as a longer initial load time.

It's a great feature though, definitely good for articles or long marketing pages.

Collapse
pfacklam profile image
Paul Facklam Author

Good point, Andrew! I will take that into account in future. Thanks for pointing out.