PERF004 · Font preload missing crossorigin
Severity: warning
What it checks
Section titled “What it checks”Every <link rel="preload" as="font"> must include the crossorigin attribute. A font preload without it is flagged.
Why it matters
Section titled “Why it matters”A font preload without crossorigin does not match the actual (CORS) font request, so the preloaded file is never used and the font downloads twice.
How to fix
Section titled “How to fix”Add crossorigin to the font preload:
<link rel="preload" href="/inter.woff2" as="font" type="font/woff2" crossorigin />