Welcome to WebmasterWorld Guest from 54.85.162.213

Forum Moderators: open

Message Too Old, No Replies

Google Chrome's New Javascript Techniques Help Speed Page Loading

     
5:19 pm on Mar 19, 2015 (gmt 0)

Administrator from GB 

WebmasterWorld Administrator engine is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month Best Post Of The Month

joined:May 9, 2000
posts:26110
votes: 943


Google continues its trend for speed improvements, and has just announced two new techniques in Chrome to help speed browsing, especially on a mobile connection. Google says that page loading could be as much as 10% faster.

Chrome is introducing two techniques called script streaming and code caching designed to reduce that painful waiting time spent staring at a white screen, especially on mobile devices. Google Chrome's New Javascript Techniques Help Speed Page Loading [blog.chromium.org]

Starting in version 41, Chrome parses async and deferred scripts on a separate thread as soon as the download has begun. This means that parsing can complete just milliseconds after the download has finished, and results in pages loading as much as 10% faster.
Chrome 42 introduces an advanced technique of storing a local copy of the compiled code, so that when the user returns to the page the downloading, parsing, and compiling steps can all be skipped. Across all page loads, this allows Chrome to avoid about 40% of compile time and saves precious battery on mobile devices.
2:26 pm on Mar 21, 2015 (gmt 0)

Preferred Member

10+ Year Member Top Contributors Of The Month

joined:July 23, 2004
posts:577
votes: 94


... this allows Chrome to avoid about 40% of compile time and saves precious battery on mobile devices.


So Google is saving a few bucks on their own bandwidth by delivering the goods only once ... nice.

But it does nothing to address the data caps that most phone users have to deal with. Sure, we could all use better batteries, but even more of us could use some kind of method that won't burn up our assigned amounts of bandwidth (data transfer)... as quickly
3:52 am on Mar 22, 2015 (gmt 0)

Preferred Member

5+ Year Member Top Contributors Of The Month

joined:May 24, 2012
posts:648
votes: 2


So Google is saving a few bucks on their own bandwidth by delivering the goods only once ... nice.


They don't word it very well, but I don't think this update affects bandwidth in any real way for anyone. Javascript is already cached, that's not new. What appears to be new is that they are caching the already parsed and compiled javascript locally, instead of just the base (not yet parsed/compiled) .js file.

The other big piece is that they are parsing deferred/async javascript earlier..even before the entire file has completed downloading.
4:32 am on Mar 23, 2015 (gmt 0)

Full Member

10+ Year Member

joined:May 30, 2009
posts:234
votes: 7


Feels like I just read an ad for Chrome.
9:00 am on Mar 24, 2015 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Oct 4, 2001
posts: 1277
votes: 17


Yeah damnit... this makes sense, it improves the internet experience for everyone (other browsers will follow suit as always), screw the bastards!

Gotta love WW :-)
12:50 pm on Mar 31, 2015 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:12913
votes: 893


Chrome has increased load time significantly, so much so I have switch from Firefox which has become slower & slower as more bloat was incrementally added.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members