Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Intent to Continue Experimenting: Speculation Rules (Prefetch)

73 views
Skip to first unread message

Jeremy Roman

unread,
Sep 10, 2021, 1:52:03 PM9/10/21
to blink-dev

Contact emails

jbr...@chromium.org, kenji...@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

Speculation Rules is a flexible syntax for defining what outgoing links are eligible to be prepared speculatively before navigation. It enables access to additional enhancements, such as use of a private prefetch proxy, where applicable.


Participants in this trial can use this syntax to request prefetching of links they expect the user is likely to visit next.


This is a request to extend the previous experiment, with the same limitations. We would like to extend the experiment for milestones M95 to M97 (inclusive), in order to continue to gather data as a partner makes improvements to their integration and to shave some of the rough edges off the implementation.


Blink component

Internals>Preload


TAG review

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


TAG review status

Complete


Risks



Interoperability and Compatibility


Gecko: No signal


WebKit: No signal


Web developers: Past success with <link rel=prefetch> and libraries like QuickLink, and discussion with some partners suggests interest in this space.



Goals for experimentation

To gather feedback about the convenience of the Speculation Rules syntax, and to gather data about performance improvements for navigations that are prefetched, directly and via a private prefetch proxy (subject to the limitations mentioned above).


Ongoing technical constraints

No significant technical constraints anticipated.


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Chrome for Android (non-WebView) only, at present.

Eventually other platforms will be supported.


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

Not yet, but we have plans to.


Flag name

The origin trial feature name will continue to be SpeculationRulesPrefetch.


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


Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/1q7Fp3zpjgQ

Intent to experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/Cw-hOjT47qI/m/CY7qVZP5AQAJ

This intent message was generated by Chrome Platform Status.

Yoav Weiss

unread,
Sep 13, 2021, 11:56:40 PM9/13/21
to Jeremy Roman, blink-dev
LGTM to experiment M95-M97 (inclusive).
Note that for experimentation beyond that, it'd be useful to show a summary of learnings from the trial up until that point.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACuR13cO5O4ZRi%2BTAtAnm-%2B0Q%2BmMK2z-89xe7R5u-%3Dh-ed3z4A%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages