prefetch
A resource hint, <link rel="prefetch">, that downloads a file at low priority during idle time because the user will probably need it on a later page.
In more detail
Prefetched files wait in the HTTP cache so the next navigation is faster. Prefetching things users never visit wastes their data, so reserve it for likely next steps.
Related terms
- preload — A resource hint, <link rel="preload">, that makes the browser download a file needed for the current page right away at high priority.
- preconnect — A resource hint, <link rel="preconnect">, that makes the browser do the DNS lookup, TCP handshake and TLS negotiation with another server before any request is sent.
- resource hint — A link element that tells the browser in advance about something it will need, such as preload, prefetch or preconnect, so it can start early.
Taught in
- Layout, Reflow, Paint And GPU Compositing Layers — Frontend Architecture & Web Platform
- Critical Rendering Path: Preload, Prefetch And Scripts — Frontend Architecture & Web Platform
- requestAnimationFrame vs requestIdleCallback: High-FPS Work — Frontend Architecture & Web Platform