Skip to main content

Lazy Loading Images

Strategy: IntersectionObserver + data-src. Each image sets data-loaded="true" once requested.

Loaded: 0 Observed: 0 IO: unknown Strategy: IntersectionObserver + data-src
Automation tips: DevTools → Network → filter picsum.photos. Assert data-loaded on images and counter changes.
(Spacer to ensure some images are initially off-screen)
Status: Waiting
[]