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

set font-display: swap #1816

Merged
merged 3 commits into from
May 16, 2024
Merged

set font-display: swap #1816

merged 3 commits into from
May 16, 2024

Conversation

juliuxu
Copy link
Contributor

@juliuxu juliuxu commented Sep 29, 2023

This behaviour is default for a lot of sites. including fonts hosted on google. In practice user will see little difference, but the worst case is greatly improved. if for example the user is on a slow connection that takes time loading the fonts.

Ref.
https://pagespeed.web.dev/analysis/https-beta-sporing-posten-no-sporing/yfwb3ix39g?form_factor=mobile
https://developer.chrome.com/docs/lighthouse/performance/font-display/

@ghost
Copy link

ghost commented Sep 29, 2023

trello.com/c/cXUeEuN1

Copy link
Contributor

@haraldvinje haraldvinje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@viggo viggo merged commit 14f311e into master May 16, 2024
@viggo viggo deleted the font-display-swap-cXUeEuN1 branch May 16, 2024 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants