

In Chrome 76 onwards, you can use the loading attribute to lazy-load images without the need to write custom lazy-loading code or use a separate JavaScript library. All articles Browser-level image lazy-loading for the webīrowser-level support for lazy-loading images is now supported on the web! This video shows a demo of the feature:.Does Lighthouse recognize browser-level lazy-loading?.

How are images handled when a web page is printed?.How does browser-level lazy-loading affect advertisements on a web page?.Is lazy-loading for iframes also supported in Chrome?.How do I handle browsers that don't support lazy-loading?.What if I'm already using a third-party library or a script to lazy-load images?.How does the loading attribute work with images that are in the viewport but not immediately visible (for example: behind a carousel, or hidden by CSS for certain screen sizes)?.Is there a downside to lazy-loading images that are within the device viewport?.Can CSS background images take advantage of the loading attribute?.Can I change how close an image needs to be before a load is triggered?.Are there plans to automatically lazy-load images in Chrome?.Avoid lazy-loading images that are in the first visible viewport.Images should include dimension attributes.Improved data-savings and distance-from-viewport thresholds.Relationship between the loading attribute and fetch priority.
