HTML link rel attributes

<link rel="preload"> & "preconnect"

Browser resource hints placed in HTML <head> (or HTTP Link headers) that tell Chrome to fetch critical LCP assets immediately (preload) or warm up DNS/TCP/TLS handshakes to vital third-party origins early (preconnect).

Verified

Syntax / Example

<link rel="preconnect" href="https://cdn.example.com" crossorigin />
<link rel="preload" as="image" href="https://cdn.example.com/hero.webp" fetchpriority="high" />

Verify On A Live URL

curl -sL https://example.com/ | grep -iE "rel=\"(preload|preconnect)\""
Metric or RuleDocumented ValueSource
Target Core Web VitalLCP <= 2.5s at 75th percentile (CrUX)web.dev: Preload Critical Assets & LCP OptimizationChecked November 27, 2026
Recommended preconnect limitKeep to critical origins only (avoid 5+)web.dev: Preload Critical Assets & LCP OptimizationChecked November 27, 2026
LCP priority pairingCombine with fetchpriority="high" on LCP imageweb.dev: Preload Critical Assets & LCP OptimizationChecked November 27, 2026

Official Specification & Google Behavior

W3C/MDN and web.dev recommend preloading late-discovered LCP hero images or critical web fonts—paired with fetchpriority='high'—and limiting preconnect to 2–4 genuinely critical third-party domains.

SEO & Indexing Impact

Directly improves Largest Contentful Paint (LCP <= 2.5s p75 in 28-day CrUX), the single most common cause of Core Web Vitals failures across the web.

Backlink Monitoring Verdict
Head resource hint only—does not create crawlable hyperlinks or pass PageRank.

Common Pitfalls

  • Preloading 10 low-priority images or scripts, which starves bandwidth from the actual LCP hero image and worsens load speed.
  • Adding rel='preload' without the matching as='image'|'font'|'style' attribute, causing double downloads in Chrome.

Frequently Asked Questions

What is the difference between rel=preload and rel=preconnect?
rel=preload downloads a specific high-priority file (like the LCP hero image or font) early, whereas rel=preconnect opens the DNS, TCP and TLS handshake to a third-party origin ahead of time.
Can preloading too many files actually hurt Largest Contentful Paint?
Yes, preloading non-critical assets competes for network bandwidth and delays the browser from fetching the real LCP element.
Should I preload my LCP hero image if it already uses loading='lazy'?
Never apply loading='lazy' to an above-the-fold LCP image—remove lazy loading and use fetchpriority='high' (with preload if CSS-background or late-discovered).

Primary Sources

Verified

Related Research Guides