optimize-image-loading Intersection Observer is used to lazy-load images. Demo: https://sagarkbhatt.github.io/optimize-image-loading/