W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] Script preloading

From: Jake Archibald <jaffathecake@gmail.com>
Date: Thu, 11 Jul 2013 15:47:27 +0100
Message-ID: <CAJ5xic_RJ=6x1Be495xg3iJJaLFe9Bc1MF=THbvCn2YMOUC9vA@mail.gmail.com>
To: Kyle Simpson <getify@gmail.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
On 10 July 2013 17:37, Jake Archibald <jaffathecake@gmail.com> wrote:
> On 10 July 2013 16:39, Kyle Simpson <getify@gmail.com> wrote:
>> I personally don't care about scripts being discoverable by pre-parsers. I
>> have done testing and am not convinced that something appearing earlier (in
>> markup) leads to better performance than allowing my script loading logic to
>> load things when I want, and just relying on the browser to do that as
>> quickly as possible.
>
>
> Pre-parsers can kick in before a page is actually opened, but script cannot
> be executed. Let me dig up some numbers on the benefits of this & report
> back.

Here it is: https://plus.sandbox.google.com/+IlyaGrigorik/posts/8AwRUE7wqAE
~20% improvement.
Received on Thursday, 11 July 2013 14:47:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC