Resource hint

noun

say it: “REE-sorss HINT” /ˈrisɔrs hɪnt/

A link in the page's head that tells the browser to start early on something it will need, such as connecting to a font site or fetching a font file.

What is a resource hint?

Resource hint — A <link> in a page's head that tells the browser about something it will need soon, so it starts early: preconnect opens the connection to another site, and preload fetches an important file, such as a font, before the browser would find it.

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload" href="fonts/bebas-neue.woff2" as="font" type="font/woff2" crossorigin>

In a sentence

  • “A preconnect resource hint let the browser reach the font server while it was still reading the HTML.”

Level: Journeyman · More HTML terms at this level

Updated