How a framework supposes to make page load faster

Discussion in 'HTML & Website Design' started by ketting00, Mar 9, 2016.

  1. #1
    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,
     
    ketting00, Mar 9, 2016 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    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
     
    kk5st, Mar 9, 2016 IP
    ketting00 likes this.
  3. ketting00

    ketting00 Well-Known Member

    Messages:
    782
    Likes Received:
    28
    Best Answers:
    3
    Trophy Points:
    128
    #3
    Thanks Gary,

    That's great information. and thanks for the document. I'll be studying about it.
     
    ketting00, Mar 10, 2016 IP