Skip to content

Async loader requests two domains with the related connection overhead #13783

Closed

Description

@dalyr95

Summary

Async loader calls two CDN sub domains and the related connection overhead of DNS lookup, connection and SSL handshake. In this example take from webpagetest, this added a half a second delay to the main bundle being downloaded.

DNS Lookup: 289 ms
Initial Connection: 141 ms
SSL Negotiation: 67 ms

Screenshot 2019-06-22 at 16 45 18

Serving the async loader and main bundle from the same subdomain can save up to half a second in connection setup and allow the main bundle TTFB alot quicker.

Motivation

Considering the error reports are degraded before the main bundle is downloaded and a major point of failure in JS apps is the app erroring onload and then breaking everything removing any bottlenecks to downloading the main bundle should be removed.

Activity

  1. BYK commented on Oct 22, 2020

    @BYK
    Member

    Closing this issue due to staleness. Feel free to comment here if you think we should still work on this.

  2. locked and limited conversation to collaborators on Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions