Hi guys, According to this article: http://news.mit.edu/2016/system-loads-web pages-34-percent-faster-0309 How is a JavaScript framework called Polaris supposed to make page load 34% faster. I've read comments on Gizmodo they've got me stunted. Most commenters sound inexperienced. How a framework supposed to reduce request trips. Is it supposed to be loaded as the very first thing from server? Where is the framework supposed to run, on client side or server side? Those are questions I've got for now. I'm both excited and baffled about this news. Thank you,
A simpleton's version. This really a server-side preprocessor that figures out the dependencies among the page's objects. It then optimizes the load order in a manner that speeds 1) the loading by allowing concurrent gets and 2) the creation of the DOM and CSSDOM by making sure dependent objects are loaded after the objects they depend on. Once everything is figured out, a javascript scheduler, a dependency graph and the html is returned to the browser. The goal is to reduce delays due to the browser waiting for dependency issues to be resolved and network latency. It appears this is not a panacea. Unless you're working with a site that has huge pages, the benefit is small to trivial. For humongous pages, the loading and rendering speed improvements are likewise huge. Read the actual paper here [pdf]. cheers, gary