{"action":"created","issue":{"url":"https://api.github.com/repos/WICG/ContentPerformancePolicy/issues/1","repository_url":"https://api.github.com/repos/WICG/ContentPerformancePolicy","labels_url":"https://api.github.com/repos/WICG/ContentPerformancePolicy/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/WICG/ContentPerformancePolicy/issues/1/comments","events_url":"https://api.github.com/repos/WICG/ContentPerformancePolicy/issues/1/events","html_url":"https://github.com/WICG/ContentPerformancePolicy/issues/1","id":136179850,"number":1,"title":"Lazy loading of images","user":{"login":"nhoizey","id":78213,"avatar_url":"https://avatars.githubusercontent.com/u/78213?v=3","gravatar_id":"","url":"https://api.github.com/users/nhoizey","html_url":"https://github.com/nhoizey","followers_url":"https://api.github.com/users/nhoizey/followers","following_url":"https://api.github.com/users/nhoizey/following{/other_user}","gists_url":"https://api.github.com/users/nhoizey/gists{/gist_id}","starred_url":"https://api.github.com/users/nhoizey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhoizey/subscriptions","organizations_url":"https://api.github.com/users/nhoizey/orgs","repos_url":"https://api.github.com/users/nhoizey/repos","events_url":"https://api.github.com/users/nhoizey/events{/privacy}","received_events_url":"https://api.github.com/users/nhoizey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-24T20:36:38Z","updated_at":"2016-02-29T18:28:51Z","closed_at":null,"body":"I see in this draft a section about lazy loading of images, which is really nice!\r\n\r\nI know —thank you @hteumeuleu for [this tweet](https://twitter.com/HTeuMeuLeu/status/700974632313221120)— that [IE11 and Edge already support a `lazyload` attribute](https://msdn.microsoft.com/en-us/library/dn369270%28v=vs.85%29.aspx), but [they are alone](http://caniuse.com/#search=lazyload) and [the draft spec has been abandonned](https://w3c.github.io/web-performance/specs/ResourcePriorities/Overview.html), inviting us to look at [resource hints](http://w3c.github.io/resource-hints/)… which don't seem to contain anything on this topic.\r\n\r\nSo, thanks a lot for this, I hope it will come soon to every browser!\r\n\r\nOk, that's not really an issue… ;-)"},"comment":{"url":"https://api.github.com/repos/WICG/ContentPerformancePolicy/issues/comments/190322328","html_url":"https://github.com/WICG/ContentPerformancePolicy/issues/1#issuecomment-190322328","issue_url":"https://api.github.com/repos/WICG/ContentPerformancePolicy/issues/1","id":190322328,"user":{"login":"Krinkle","id":156867,"avatar_url":"https://avatars.githubusercontent.com/u/156867?v=3","gravatar_id":"","url":"https://api.github.com/users/Krinkle","html_url":"https://github.com/Krinkle","followers_url":"https://api.github.com/users/Krinkle/followers","following_url":"https://api.github.com/users/Krinkle/following{/other_user}","gists_url":"https://api.github.com/users/Krinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/Krinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krinkle/subscriptions","organizations_url":"https://api.github.com/users/Krinkle/orgs","repos_url":"https://api.github.com/users/Krinkle/repos","events_url":"https://api.github.com/users/Krinkle/events{/privacy}","received_events_url":"https://api.github.com/users/Krinkle/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T18:28:50Z","updated_at":"2016-02-29T18:28:50Z","body":"Fair enough. Though imho that's more commonly known as \"deferred loading\". (Commonly implemented by starting the load of all images from a `window.onload` callback).\r\n\r\nIn deferred loading, one will observe that all images load eventually (albeit deprioritised). \r\n\r\nIn lazy loading, a measurable outcome is that some images will never load (given the user's interaction with the viewport) and thus save absolute bandwidth.\r\n\r\nAlthough deferred loading might still save bandwidth depending on how long a user leaves a page open."}}