Intent to Prototype: Speculation Rules

253 views
Skip to first unread message

Jeremy Roman

unread,
Feb 16, 2021, 5:47:20 PMFeb 16
to blink-dev

Contact emails

jbr...@chromium.org


Explainer

https://github.com/jeremyroman/alternate-loading-modes/blob/main/triggers.md


Specification

https://jeremyroman.github.io/alternate-loading-modes/#speculation-rules


Summary

Flexible syntax for defining what outgoing links are eligible to be prepared speculatively before navigation (e.g. prefetching, prerendering). Enables access to additional enhancements, such as use of a private prefetch proxy, where applicable.


Blink component

Internals>Preload


Motivation

Enable additional avenues of development for pre-navigation speculation, including requiring the anonymization of the client IP address and heuristics to identify the best outbound links to prefetch.


The platform and browser should help developers make the best use of these capabilities to accelerate navigation between pages.


Initial public proposal

https://github.com/WICG/proposals/issues/2


TAG review

https://github.com/w3ctag/design-reviews/issues/611


TAG review status

Pending


Risks



Interoperability and Compatibility

The proposal is designed with forward compatibility in mind, and intends to be flexible enough to support future needs. There are no anticipated backward compatibility risks.


There is significant interoperability risk to the extent other vendors may not take the same direction, which is mitigated to some extent by the fact that this feature is a form of progressive enhancement (i.e., it is not anticipated that any site will break if this feature is not supported, but may simply experience higher latency on navigation).

Feedback on the API is, of course, welcome.



Gecko: No signal (not yet requested)


WebKit: No signal (not yet requested)


Web developers: No signals



Is this feature fully tested by web-platform-tests?

No, though we intend to add WPT coverage as this proceeds. (It will likely need testdriver hooks to fully test.)


Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1173646


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5740655424831488


This intent message was generated by Chrome Platform Status.

Reply all
Reply to author
Forward
0 new messages