Repository navigation
Description
Description
Speculation rules offer a way to preemptively load pages for future navigations before the user has actually clicked a link.
Developers can opt to either prefetch, prerender or prerender_until_script.
Specification
web-feature
Test Links
Additional Signals
The Speculation Rules API has been supported in Chrome and Edge since version 109.
The feature has 25 👍 in the developer signals repo.
Speculation Rules had 40 👍 In Interop 2026 and 30 👍 in Interop 2025.
Standards positions:
- Firefox initially expressed a neutral position but have a partial implementation in Firefox Nightly.
- Webkit have expressed support only for same-origin prefetch with an eagerness of conservative.
There are certain aspects of the spec that still seem to be in progress:
- Chromium has an in-progress bug for adding external file support. There is an open pull request for adding this to the specification. There are separate Mozilla and Webkit standards positions for using an external speculationrules file rather than inlining.
- Chrome has been running an origin trial for
prerender-until-script
The State of HTML 2025 survey revealed that a majority of developers have not yet heard of this feature, but it is already being used by some large companies such as Shopify, WordPress, Etsy and Google.
This tweet about the API has 558 likes and this other tweet has 1000 likes.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTodo
Activity
github-actions commentedon Sep 3, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
Feature Speculation rules
tunetheweb commentedon Oct 26, 2026
IMHO we should restrict this to
prefetchonly.There are prefetch implementation behind flags for Safari/WebKit and Firefox/Gecko for this (along with Chrome's launched version).
prerender_until_scriptis still WIP in Chrome and not even started in other browsers AFAIK.prerenderis a much bigger lift. Additionally this is still a separate spec, while prefetch is merged into HTML Living Standard (though still some outstanding questions on WebAppSec) - more info.