- From: Laura Morales <lauretas@mail.com>
- Date: Fri, 22 Jun 2018 15:02:06 +0200
- To: public-html@w3.org
I don't know if this is the right mailing list, but I'd like to suggest a feature for image tags and background images: lazy load. More or less something like this: - if the obect is not visible: do not load the resource (image) - if the object is visible: load the resource (image) - optional: if the resource has been loaded but the object is no longer visible, delete image (free some memory) This would be very useful when there are a lot of images on the page. My particular use case is that I'm converting PDFs to HTML, which results in 100s or 1000s of requests. Lazy loading of images would instead display an image from the document when it's visible. JavaScript can do this, but it would be better to have some HTML property that doesn't depend on JavaScript, for example <img src="" lazy=true />
Received on Friday, 22 June 2018 13:02:32 UTC