Lazy Loading Images

Two ways to get the job done

An Image. Credit: Unsplash.com

Lazy loading images is the practice of deferring their loading until the user actually needs them, generally when the user scrolls towards them in the viewport. ‘Lazy loading’ can also be applied to other types of assets like CSS and JS, but that means something slightly different, and so is a topic for another time 😏.