[bisq-network/bisq-website] Add Lazy Loading to images and iframes (#331)

Riccardo Masutti notifications at github.com
Fri Feb 7 17:50:29 UTC 2020


The `loading` attribute can be treated as a progressive enhancement. Browsers that support it can lazy-load images and iframes. Those that don't yet can load images just like they would today.

In terms of cross-browser support, `loading` should be supported in Chrome 76 and any Chromium 76-based browsers. There is also an [open implementation bug for Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=1542784).

A [similar API](https://w3c.github.io/web-performance/specs/ResourcePriorities/Overview.html) was proposed and used in IE and Edge but was focused on lowering the download priorities of resources instead of deferring them entirely. It was discontinued in favour of [resource hints](https://w3c.github.io/resource-hints/).



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-website/pull/331#issuecomment-583525540
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200207/bbe09cf4/attachment.html>


More information about the bisq-github mailing list