Skip to content

Commit 2be9eb9

Browse files
committed
perf: Preload the bold body font
Lighthouse showed noto-sans-700 arriving late through the css chain on pages that use bold text above the fold.
1 parent 1629ffa commit 2be9eb9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ui/src/partials/head-styles.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<link rel="preload" href="{{{uiRootPath}}}/font/noto-sans-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
22
<link rel="preload" href="{{{uiRootPath}}}/font/ibm-plex-mono-latin-600-normal.woff2" as="font" type="font/woff2" crossorigin>
3+
<link rel="preload" href="{{{uiRootPath}}}/font/noto-sans-latin-700-normal.woff2" as="font" type="font/woff2" crossorigin>
34
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">

0 commit comments

Comments
 (0)