preload link
A link tag with rel="preload" that tells the browser to download an important file early, before it discovers it is needed.
In more detail
Preloading helps for files the browser finds late, such as fonts referenced from CSS. Preloading too much competes with more important downloads.
Example
next/font preloads font files and next/image with priority preloads the hero image.Related terms
- next/font — The Next.js font module, which downloads fonts at build time, serves them from your own domain and sets up fallbacks that avoid layout shift.
- priority prop — A next/image prop that marks an image as important so it is preloaded and not lazy-loaded.
Taught in
- Image & Font Optimization: Zero Layout Shift Assets — Next.js 15 & Modern App Router Architecture