- From: Nat Duca <nduca@google.com>
- Date: Fri, 5 Dec 2014 10:53:06 -0800
- To: Yoav Weiss <yoav@yoav.ws>
- Cc: Aaron Gustafson <aaron@easy-designs.net>, public-web-perf <public-web-perf@w3.org>
Received on Friday, 5 December 2014 18:53:33 UTC
> > As far as images go, we could also say that the only reason we need hints > to lazyload images is the fact that Web compat requires image download > before onload. Authors could also provide a page-wide hint to say "I don't > care about images in my onload. You, the browser, can lazyload everything, > if you find it helpful". > That would complicate life for the preloader (no notion of viewport there, > so no idea which images are visible), but the download queue could then use > heuristics to download only the first X images, and wait for layout for the > rest, etc, etc. The browser is in a better position to do that. > I was wondering if we had optional elements, then lazyloading of images would "just work": when an element is optional, its subtree is optional. Then under that subtree, we change the semantics of onload.
Received on Friday, 5 December 2014 18:53:33 UTC