hay...@chromium.org, deno...@chromium.org
https://github.com/WICG/webpackage/blob/master/explainers/subresource-loading.md
Provides a new approach to load a large number of resources efficiently using a format that allows multiple resources to be bundled, e.g. Web Bundles.
https://github.com/w3ctag/design-reviews/issues/616
(We’ll reopen this once we can have a consensus in the discussion here)
Pending
No interoperability and compatibility risk has been identified for the prototype phase. This is purely a feature addition for the performance optimization for now.
It is expected that a browser which doesn’t support this feature should load subresources from the network, as usual.
Gecko: No signal
WebKit: No signal
Web developers: No signals
Developers need to package their subresoruces beforehand in order to take advantage of this feature. We'll work with JS bundler ecosystems to provide a plugin to package subresources as Web Bundles.
No security risk has been identified for the prototype phase.
<Key change included in the Intent to Extend>
This Intent to Extend includes a few major changes based on the feedback collected during the original OT, which are 1) <script>-based API from <link>-based API, 2) new scheme: uuid-in-package, and 3) New Web Bundle format version. The extension allows us to get sufficient data before shipping the feature.
See these documents for details.
https://github.com/WICG/webpackage/blob/main/explainers/subresource-loading-opaque-origin-iframes.md
https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html
In addition, the original main goals remain unchanged:
1. Measure how this feature makes a subresource loading faster in real sites.
2. Measure how this feature improves Ad Serving. See WebBundles for Ad Serving (https://github.com/WICG/webpackage/issues/624) for details.
3. Collect feedback on the API surface so that we can discuss how this and alternative approaches like resource-bundles (https://github.com/WICG/resource-bundles) could potentially converge in the future.
We started with <link>-based API in the original OT to allow quicker availability and confirmed the intended effect of the feature. We are extending the OT to experiment with <script>-based API we had originally planned along with other changes we decided to apply based on the feedback collected in the original OT.
1) <script>-based API from <link>-based API
2) new scheme: uuid-in-package
3) Web Bundle format version
It would be nice that we have a chance of a few more iterations so that we can fix our implementation in case we find something is wrong in M97. Therefore, we plan to extend the OT to M101.
Original I2E: https://groups.google.com/a/chromium.org/g/blink-dev/c/9CwkzaF_eQ4/m/kuR07FTTCAAJ
None
Developers have the ability to test this functionality on their pages by opening DevTools and selecting the Network tab. This allows the DevTools to represent Web Bundles and the resources that originate from it being attributed to the Web Bundle.
Yes
No
False
https://bugs.chromium.org/p/chromium/issues/detail?id=1082020
https://bugs.chromium.org/p/chromium/issues/detail?id=1133108
https://chromestatus.com/feature/5710618575241216
Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/wYn13HabRN0/m/L4y4iY1-AgAJ
Intent to Experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/9CwkzaF_eQ4/m/kuR07FTTCAAJ
Contact emails
hay...@chromium.org, deno...@chromium.org
Explainer
https://github.com/WICG/webpackage/blob/master/explainers/subresource-loading.md
Specification
Design docs
Summary
Provides a new approach to load a large number of resources efficiently using a format that allows multiple resources to be bundled, e.g. Web Bundles.
Blink component
TAG review
https://github.com/w3ctag/design-reviews/issues/616
(We’ll reopen this once we can have a consensus in the discussion here)
TAG review status
Pending
Risks
Interoperability and Compatibility
No interoperability and compatibility risk has been identified for the prototype phase. This is purely a feature addition for the performance optimization for now.
It is expected that a browser which doesn’t support this feature should load subresources from the network, as usual.
Gecko: No signal
WebKit: No signal
Web developers: No signals
Ergonomics
Activation
Developers need to package their subresoruces beforehand in order to take advantage of this feature. We'll work with JS bundler ecosystems to provide a plugin to package subresources as Web Bundles.
Security
No security risk has been identified for the prototype phase.
Goals for experimentation
<Key change included in the Intent to Extend>
This Intent to Extend includes a few major changes based on the feedback collected during the original OT, which are 1) <script>-based API from <link>-based API, 2) new scheme: uuid-in-package, and 3) New Web Bundle format version. The extension allows us to get sufficient data before shipping the feature.
--
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/CAA5e698pi1FC6NCiY0KpxXuqbO8%2BeQ6dNiVkZ9OSq0LBdX089g%40mail.gmail.com.
Ergonomics
Activation
Developers need to package their subresoruces beforehand in order to take advantage of this feature. We'll work with JS bundler ecosystems to provide a plugin to package subresources as Web Bundles.
Security
No security risk has been identified for the prototype phase.
Goals for experimentation
<Key change included in the Intent to Extend>
This Intent to Extend includes a few major changes based on the feedback collected during the original OT, which are 1) <script>-based API from <link>-based API, 2) new scheme: uuid-in-package, and 3) New Web Bundle format version. The extension allows us to get sufficient data before shipping the feature.
Does #1 refer to https://github.com/WICG/webpackage/blob/main/explainers/subresource-loading.md#link-based-api? I'm a little confused about this, as I thought we'd decided not to rely on <link> due to the concerns in https://github.com/WICG/webpackage/issues/580.
More broadly, these changes don't appear to be included in the explainer. I might be misunderstanding the scope, but I'd suggest some clarification there so developers know what to expect.
LGTM to extend the experiment until 101
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFpjS_1FmjsZBVJaxhLheM025jbBG_-N4k%3DDcr1o8HQ316Tq9w%40mail.gmail.com.