article thumbnail

A Deep Dive into Native Lazy-Loading for Images and Frames

CSS - Tricks

Until now, developers like ourselves have had to use JavaScript (whether it’s a library or something written from scratch) in order to achieve lazy-loading. Make sure your servers support the HTTP Range: 0-2047 header and respond with status code 206 (Partial Content) to prevent them from delivering the full image twice.

Traffic 58