Approved catalog listing
SKILL #2161
skillshunter.net
Home / Software & Development / Optimize Navigation Performance with Speculation Rules
Listing Approved Approved on: November 24, 2026

Optimize Navigation Performance with Speculation Rules

Use the Speculation Rules API to prefetch and prerender navigations, reducing INP and improving page load speed for fast user experiences. The deliverable is a JSON block targeting likely next-page links, starting with prefetch and graduating to prerender.

Rate this skill

No ratings yet

Editor's Note

Ensure the site uses the Speculation Rules API or equivalent techniques for likely navigation targets. Review speculation rule selectors to avoid prerendering unrelated pages, third-party URLs, or pages with personalized/authenticated content.

When to Use It

  • Optimize multi-page navigation performance for web applications
  • Reduce INP on page transitions for better user experience
  • Implement progressive enhancement for fast page loads

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md
---
name: speculation-rules
description: "Use when optimising multi-page navigation performance, reducing INP on page transitions, or implementing progressive enhancement for fast page loads."
metadata:
  category: performance
  priority: low
  difficulty: intermediate
  estimatedTime: "20"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/performance/speculation-rules
---

# Use the Speculation Rules API to prefetch and prerender navigations

Navigation latency is one of the biggest contributors to poor Interaction to Next Paint (INP) and overall perceived performance. Prerendering the most likely next page eliminates all network and rendering latency — the user sees the new page in under 100 ms regardless of server response time. Google Search has used this API to deliver its "instant" results page experience.

## Quick Reference

- Use prefetch rules to load the next page's HTML ahead of time
- Use prerender rules to fully render the next page in the background (instant navigation)
- Scope rules with href-matches or CSS selector patterns to avoid wasting bandwidth
- Prefer document rules (CSS selectors) over URL list rules for dynamic sites

## Check

Check whether the site uses the Speculation Rules API or equivalent prefetch/prerender techniques for likely navigation targets.

## Fix

Add a Speculation Rules JSON block targeting the most likely next-page links, starting with prefetch and graduating to prerender.

## Explain

Explain how the Speculation Rules API differs from rel=prefetch and rel=prerender, and how prerendering achieves near-zero navigation latency.

## Code Review

Review speculation rule selectors for over-eagerness — flag patterns that would prerender unrelated pages, third-party URLs, or pages with personalised/authenticated content that should not be pre-fetched.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/performance/speculation-rules

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.