href
- Job
- The resource to fetch
- If you get it wrong
- Nothing useful is preloaded
rel=preload tells the browser to fetch a resource it would find late, such as a font or CSS background. Syntax, the as and crossorigin rules, and common mistakes.
rel=preload is a link hint that makes the browser fetch a resource early, before it would otherwise discover it. It only downloads and caches the file: a preloaded script is not executed. It pays off most for resources found late, such as fonts or images referenced from CSS.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
Preload is mandatory for the browser. web.dev contrasts it with hints such as preconnect and prefetch, which the browser may ignore. Putting a <link rel="preload"> in the <head> starts the download early and stores the result for the real request to pick up.
MDN is blunt about one misreading: despite the name, preload does not execute a script. It schedules the fetch and the caching, nothing more. The benefit is greatest for resources the browser would find late, such as fonts and images referenced in CSS or resources requested by JavaScript. For a resource sitting in the same HTML chunk, the gain is small.
hrefasfetch, font, image, script, style or track. It lets the browser cache the file, apply the right CSP and set Accept headerstypecrossoriginfont and fetch, and it must match the eventual request's CORS modemedia<link rel="preload"
href="/fonts/inter-var.woff2"
as="font"
type="font/woff2"
crossorigin>Run Lighthouse and open the Preload key requests audit. web.dev says it flags assets on the third level of the critical request chain as late-discovered.
Reload with cache disabled and look at the Priority and Initiator columns. A font or hero image initiated by a stylesheet is a late discovery.
Preload only the single resource that delays the render, then reload and compare when it starts downloading.
web.dev says Chrome logs a warning for an unused preload approximately 3 seconds after the load event. A warning means the preload did not match a real request.
@font-face is needed for the first visible textas, type and crossorigin to the real requestPreload fixes discovery, not priority. If the file is found but still queued behind others, pair it with fetchpriority. To warm a connection to another origin instead, see preconnect. The related lazy-loading failure is covered in lazy-loaded LCP image.
2 questions people ask next, answered from the sources on this page.
Preload is for the current page and is mandatory for the browser. Prefetch is a hint for something a later navigation may need. web.dev describes preload as mandatory, in contrast to hints like prefetch.
No. It only downloads and caches the file. The script still runs when a <script> element loads it. MDN points to modulepreload for JavaScript modules.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.