Speculation Rules API (Prerender & Prefetch)
Modern W3C/Chrome JSON specification (replacing legacy <link rel='prerender'>) that instructs Chrome to prefetch or fully prerender likely next internal navigations on hover/pointerdown—slashing real-user CrUX LCP.
Verified
Syntax / Example
<script type="speculationrules">
{"prerender":[{"where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":"/logout/*"}}]},"eagerness":"moderate"}]}
</script>Verify On A Live URL
curl -sL https://example.com/ | grep -i "speculationrules"
Documented Facts For Speculation Rules API (Prerender & Prefetch)
| Metric or Rule | Documented Value | Source |
|---|---|---|
| CrUX field impact | Near-0ms LCP on prerendered internal navigations | MDN Web Docs: Speculation Rules APIChecked November 27, 2026 |
| Recommended eagerness | moderate (triggers on hover/pointerdown) | MDN Web Docs: Speculation Rules APIChecked November 27, 2026 |
| Delivery methods | HTML <script type="speculationrules"> or HTTP header | MDN Web Docs: Speculation Rules APIChecked November 27, 2026 |
Official Specification & Google Behavior
Supported natively in Chromium browsers (Chrome, Edge) via inline <script type='speculationrules'> or the Speculation-Rules HTTP header; excludes mutating URLs (like /logout or /cart) via explicit not rules.
SEO & Indexing Impact
Instant prerendered internal page transitions record near-0ms Largest Contentful Paint inside 28-day Chrome UX Report (CrUX) field data, dramatically lifting sitewide Core Web Vitals pass rates.
Backlink Monitoring Verdict
Browser navigation optimization only—does not alter crawlable <a href> links or PageRank distribution.
Common Pitfalls
- Prerendering state-mutating URLs (/logout, /add-to-cart) instead of excluding them with a not href_matches clause.
- Using eagerness: immediate on 50+ links per page, burning user mobile bandwidth and server load.
Frequently Asked Questions
- Does Chrome's Speculation Rules API actually improve Google Core Web Vitals?
- Yes—real users navigating via prerendered internal links record near-zero LCP in Chrome UX Report (CrUX), lifting overall 28-day origin LCP.
- Does Speculation Rules inflate GA4 pageviews if a user never clicks?
- No, Google Analytics 4 and modern analytics scripts wait for document.prerendering activation before firing pageview events.
- What eagerness setting is safest for content sites?
- Use eagerness: 'moderate' (which triggers on 200ms hover or pointerdown) and exclude authenticated/mutating paths.
Primary Sources
Verified
- MDN Web Docs: Speculation Rules APINovember 27, 2026
- web.dev: Preload Critical Assets & LCP OptimizationNovember 27, 2026
Related Research Guides
- November 10, 2026Core Web Vitals: Thresholds, Real Pass Rates And Ranking Impact56.3% of origins pass Core Web Vitals in October 2026. See the LCP, INP and CLS thresholds, the real pass rates and the ranking effect.
- November 27, 2026WordPress Vs Shopify Vs Webflow Vs Next.js Technical SEO: Core Web Vitals And AI Crawlers DataCompare real 28-day CrUX Core Web Vitals pass rates, zero-JS AI crawler readability and technical traps across WordPress, Shopify, Webflow & Next.js.
- November 27, 2026Internal Linking Architecture In SEO: Crawl Depth, Orphan Pages And Anchor Text DataZyppy's 23M-link study found exact-match internal anchors correlate with 5x traffic—peaking near 40–44 links. How to fix orphans and click depth.