Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Preconnect to load the fonts #12113

Merged
merged 1 commit into from
Jul 11, 2018

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jul 11, 2018

Should provide a small perf boost (100ms)

Preconnect allows the browser to setup early connections before an HTTP request is actually sent to the server. This includes DNS lookups, TLS negotiations, TCP handshakes.

Before:
capture d ecran 2018-07-11 a 20 02 39

After:
capture d ecran 2018-07-11 a 20 03 14

The intersting part:
capture d ecran 2018-07-11 a 20 03 32

Should provide a small perf boost
@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Jul 11, 2018
@oliviertassinari oliviertassinari merged commit 44c18c7 into mui:master Jul 11, 2018
@oliviertassinari oliviertassinari deleted the docs-preconnect-font branch July 11, 2018 18:05
acroyear pushed a commit to acroyear/material-ui that referenced this pull request Jul 14, 2018
Should provide a small perf boost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant