Re:Show HN: Gandul – accessible image lazy loading
by Diti on Thursday April 18, 2019 @04:20AM
(#19689566)
Great⸮ As a regular underground public transportation commuter (without a data connection, except at very specific stations), I might soon have to scroll through an entire page of lazy-loaded images to ensure the page will be accessible for consumption during my trip!
But it’s a good thing, textual content will be easier to consume.
Re:Show HN: Gandul – accessible image lazy loading
by tyingq on Wednesday April 17, 2019 @10:28PM
(#19688256)
With some caveats, like "An implementation detail of loading in Chrome is that it fetches the first 2KB of images on page-load.".
That's the first 2KB of every image.
Re:Show HN: Gandul – accessible image lazy loading
by Traubenfuchs on Thursday April 18, 2019 @07:14AM
(#19690142)
So on the server side I will have lots of errors/exceptions because only 2kb were loaded of each image?
Re:Show HN: Gandul – accessible image lazy loading
by tyingq on Thursday April 18, 2019 @07:20AM
(#19690165)
I assume it does a range request. I was more pointing out that the client will still make a lot of requests. So maybe still not a good approach for long pages with tons of images below the fold.
<img src="celebration.jpg" loading="lazy" alt="..." />
[0] https://addyosmani.com/blog/lazy-loading/