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

⚡️ Stop preloading fonts in favor of font-display: swap #4533

Merged
merged 1 commit into from
Sep 15, 2020

Conversation

matthiasrohmer
Copy link
Collaborator

font-display: swap; is already set, this simply removes the preload statements.

@matthiasrohmer matthiasrohmer merged commit de58921 into future Sep 15, 2020
@matthiasrohmer matthiasrohmer deleted the perf/font-preload branch September 15, 2020 19:46
@patrickkettner
Copy link
Collaborator

any insight into the impact?

@kevinkimball
Copy link

@patrickkettner Kris asked me to take a look at this PR, so I ran the numbers and it appears to be 6% - 14% faster

@matthiasrohmer
Copy link
Collaborator Author

Thanks a lot @kevinkimball for providing the numbers! Totally forgot about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants