Description
The Speculation Rules API is designed to improve performance for future navigations. It targets document URLs rather than specific resource files, and so makes sense for multi-page applications (MPAs) rather than single-page applications (SPAs).
The Speculation Rules API provides an alternative to the widely-available feature. It provides many improvements over these technologies, along with a more expressive, configurable syntax for specifying which documents should be prefetched or prerendered.
Specification
https://wicg.github.io/nav-speculation/speculation-rules.html
Additional Signals
Webkit: WebKit/standards-positions#54
Mozilla: mozilla/standards-positions#620
Tests:
https://wpt.fyi/results/speculation-rules?label=master&label=experimental&aligned&q=speculation
Info about:
Description
The Speculation Rules API is designed to improve performance for future navigations. It targets document URLs rather than specific resource files, and so makes sense for multi-page applications (MPAs) rather than single-page applications (SPAs).
The Speculation Rules API provides an alternative to the widely-available feature. It provides many improvements over these technologies, along with a more expressive, configurable syntax for specifying which documents should be prefetched or prerendered.
Specification
https://wicg.github.io/nav-speculation/speculation-rules.html
Additional Signals
Webkit: WebKit/standards-positions#54
Mozilla: mozilla/standards-positions#620
Tests:
https://wpt.fyi/results/speculation-rules?label=master&label=experimental&aligned&q=speculation
Info about: