Google uses new techniques to speed up Javascript load times in latest Chrome release
Now Google uses new techniques to
speed up Javascript load times in latest Chrome release
People are always obsessed with speed, Google has improved the way Chrome loads Javascript
files in the latest version of Chrome, now loading at the same time as
beginning to parse them.
Script streaming in Chrome 41 allows the browser to process
asynchronous and deferred scripts
as soon as the download of those files begins, not after it’s
completed. Previously, the browser
would download and then parse the files step by step.
This improvement means that pages can load up to 10 percent
faster than previously.have a look at this
Code caching is also used in Chrome 42 to help speed up sites
you frequently visit. Google says
that traditionally, the browser compiles a page’s Javascript
on every visit, but the new build of
Chrome stores a local copy of compiled code for execution on
frequently visited sites.
Google touts this technique as saving up to 40 percent of
compile time and reducing battery drain
on mobile devices, which is great news for everybody.
Google uses new techniques to speed up Javascript load times in latest Chrome release
Reviewed by Unknown
on
11:18
Rating:
No comments: