bring / hedwig

Bring & Posten Design System
https://hedwig.posten.no
BSD 2-Clause "Simplified" License
28 stars 4 forks source link

set font-display: swap #1816

Closed juliuxu closed 6 months ago

juliuxu commented 1 year ago

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 commented 1 year ago

trello.com/c/cXUeEuN1