Life on the Grid Addressing scale & performance of a large JavaScript application ! @innerhtml / [email protected]flix.com March 15 & 16, 2014 JQUERY.TO();
Android tablets, Apple iPad 2+, Blu-ray players, Televisions, Virgin Media TiVo boxes Connected devices Media streamers Nintendo Wii, Nintendo Wii U, PlayStation 3, PlayStation 4, PlayStation Vita, Xbox 360 Game Consoles Apple TV, Google Chromecast, Roku 3, etc…
Populated elements intersecting the viewport Elements reduced to placeholders Postponed activity See: https://www.w3.org/Bugs/Public/show_bug.cgi?id=20246 https://www.w3.org/Bugs/Public/show_bug.cgi?id=17842
<br/>// JavaScript from XHR example and an onmessage handler<br/> <br/>var url = URL.createObjectURL(<br/>new Blob(<br/>[document.getElementById('imgloader').textContent],<br/>{ type: 'text/javascript' }<br/>)<br/>),<br/>worker = new Worker(url);<br/>!<br/>worker.onmessage = function () {<br/>URL.revokeObjectURL(url);<br/>// done!<br/>};<br/>!<br/>worker.postMessage(imgs);<br/>
JavaScript IS a profession @innerhtml / [email protected]flix.com Thank You! Further reading: http://techblog.netflix.com/2013/12/pioneering-application-design-on-tvs-tv.html http://techblog.netflix.com/2012/01/webkit-in-your-living-room.html http://jobs.netflix.com/