Speculation Rules tell the browser to prefetch or prerender pages that the user is likely to navigate to next. This makes page transitions feel instant!
Downloads the page's HTML in advance. When the user clicks, parsing and rendering still need to happen, but the network delay is eliminated.
Cost: Low (just the HTML)
Fully loads and renders the page in a hidden tab. When the user clicks, the page swaps in instantly — no loading at all!
Cost: Higher (full page load)
This page includes speculation rules that tell the browser to speculatively load the pages below. Hover or observe which ones get prefetched/prerendered.
Here's the actual speculation rules JSON embedded in this page:
You can also add speculation rules dynamically via JavaScript: