W3C home > Mailing lists > Public > www-style@w3.org > July 2013

Re: lazy loading for images via css

From: Yoav Weiss <yoav@yoav.ws>
Date: Tue, 2 Jul 2013 13:22:05 +0200
Message-ID: <CACj=BEhp8u=iatJQ_XgGj4b5aCkPv9JG7540MdfD=9PkDScBzA@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: liam@w3.org, "Tab Atkins Jr." <jackalmage@gmail.com>, Felipe Nascimento de Moura <felipenmoura@gmail.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, www-style <www-style@w3.org>, brice@websailors.fr
A related standard proposal for HTML based resources can be found at

Adding similar capabilities to CSS based resources, and especially
background images and fonts (mainly for icon fonts), can be extremely
useful for similar use-cases.

In the Resource Priorities proposal the 'lazyload' attribute is used as a
hint rather than a directive, and user agents should treat it as low
priority resource (and load it after the other resources), but may load it
regardless of its visibility (e.g. to avoid waking up the radio on mobile
at a later phase).
The only binding part in the Resource Priorities proposal is that
'lazyload' resources don't block the page's onload event.
It seems logical to apply similar rules to CSS based resources that are
marked for lazy loading.
Received on Tuesday, 2 July 2013 11:22:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:32 UTC