Resource Hints: Preconnect and Prefetch

SEO

Resource hints are HTML attributes that instruct the browser to anticipate certain network needs before they are strictly necessary, to reduce perceived latency for the user. Preconnect establishes the connection (DNS, TCP, TLS) early to an external domain that will soon be used (for example, a font CDN), while prefetch downloads in advance a specific resource the browser anticipates will be needed (for example, the page the user will likely navigate to next).

Overusing these hints can be counterproductive, needlessly consuming bandwidth and device resources for resources that ultimately aren’t used, which is why their application should be targeted and based on real behavior data.

Why it matters

Used correctly and sparingly, preconnect and prefetch can significantly reduce perceived load times, especially for resources on third-party domains (fonts, CDNs, analytics scripts).

← All terms in SEO Full glossary