Speculation Rules API fixture
Make the next page arrive early.
This page advertises the Smartphones document through an external Speculation Rules JSON resource. In a compatible Chrome browser, the document can be prefetched before the link is selected.
Mobile Smartphones
Browse Smartphones
Open the same-origin target after giving the browser an opportunity to prefetch it.
Rules resource:
Target document:
Rules are advertised through the
/prefetch-sim/speculation-rules/Target document:
/prefetch-sim/smartphones/Rules are advertised through the
Speculation-Rules response header.