question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add link: preload for fonts

See original GitHub issue

Add before the CSS in the <head>.

<link rel="preload" href="https://addons-amo.cdn.mozilla.net/979a13914c3398f40c3114ead422ed41.woff2" as="font" type="font/woff2" crossorigin>
…

Kickstarts the font download when the browser parsed the header but has not started parsing the CSS yet.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
digitaraldcommented, Oct 10, 2019
0reactions
stale[bot]commented, Apr 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. If you think this bug should stay open, please comment on the issue with further details. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Preload web fonts to improve loading speed
This codelab shows you how to preload web fonts using ... Add the Link element for this application at the head of the...
Read more >
Best Practices for Web Font Preloading + How It Works
1. Limit the Number of Fonts and Formats You Preload. If you use multiple fonts, it might be tempting to preload every font...
Read more >
Link types: preload - HTML: HyperText Markup Language | MDN
The preload value of the <link> element's rel attribute lets you ... Resources that are pointed to from inside CSS, like fonts or...
Read more >
Preloading @font-face fonts? - Stack Overflow
It is most useful for font preloading (not waiting for the browser to find it in some CSS). You can also preload some...
Read more >
Preload Fonts - DEV Community 👩‍💻👨‍💻
Usually, fonts are either downloaded from a third-party source, such as Google Fonts, or from a file that is stored in the build...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found