We intend to prototype support for the Speculation Rules API <https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API> same-origin prefetch in Firefox.
* Specification* Speculative Loading (WHATWG HTML): https://html.spec.whatwg.org/multipage/speculative-loading.html#speculative-loading Prefetch (WICG): https://wicg.github.io/nav-speculation/prefetch.html *Summary* The Speculation Rules API lets pages express hints about likely future navigations using a JSON-based <script type="speculationrules"> element or an external ruleset referenced by the Speculation-Rules HTTP response header. For example: <script type="speculationrules"> { "prefetch": [ { "where": { "href_matches": "/articles/*" } } ] } </script> When the browser judges a prefetch appropriate, it speculatively fetches the target URL so the subsequent navigation is faster. This initial prototype covers same-origin prefetch only. Cross-origin prefetch is out of scope and will be addressed in a follow-up. *Bug*: https://bugzilla.mozilla.org/show_bug.cgi?id=1969396 * Mozilla Standards Positio*n: https://github.com/mozilla/standards-positions/issues/620 * Other browsers* - Chrome: Shipped - Safari: Actively Implementing (same-origin prefetch) *Platform Coverage* All * Web Platform Tests* https://wpt.fyi/results/speculation-rules Regards Sunil -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CA%2BnBSt-JLY-6ajbP31Lic2soL2yUOaJGGDBiUoCz43zyx2%2BTzg%40mail.gmail.com.
