Contact emails jbro...@chromium.org, isabo...@google.com, mc...@chromium.org, dome...@chromium.org Explainer https://github.com/WICG/nav-speculation/blob/main/triggers.md#the-proposal SpecificationTo be started soon. SummaryCurrently developers can only specify speculation rules using inline script tags. The proposed feature provides an alternative through the “Speculation-Rules'' header. Its value should be a URL to a text resource with “application/speculationrules+json” MIME type. The resource's rules will be added to the document's rule set Blink componentInternals>Preload <https://bugs.chromium.org/p/chromium/issues/list?q=component:Internals%3EPreload> Motivation
*To adopt speculation rule based preloading, the current approach of using the script tag to specify speculation rules requires modifying existing documents, which is more difficult for some authors to deploy. The proposed Speculation-Rule header provides an alternative to facilitate adoption of the speculation rule based preloading.* Initial public proposal https://github.com/WICG/nav-speculation/blob/main/triggers.md#the-proposal TAG reviewNot yet required TAG review statusNot yet required Risks Interoperability and Compatibility Gecko: No signal WebKit: No signal Web developers: No public signals Other signals: WebView application risksDoes this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? * No* DebuggabilityWill be possible to debug on the new preloading DevTools tab. Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ?Yes, WPT will fully test this feature. Flag name SpeculationRulesFetchFromHeader Requires code in //chrome?False Estimated milestonesExpect to land the code in M110 and send Intent to Experiment. Link to entry on the Chrome Platform Status https://chromestatus.com/guide/edit/5069400512659456 -- 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+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAC2TYLVmZ%2BC%3Dct9VkfMi86RmypyfDOc14o1O4%3DiynRy%2B3rnyxg%40mail.gmail.com.