Explainer:
https://github.com/WICG/webpackage/blob/main/explainers/subresource-loading.md
Specification:
https://wicg.github.io/webpackage/subresource-loading.html
Summary:
Provides a new approach to load a large number of resources efficiently using a format that allows multiple resources to be bundled, Web Bundles.
Note that the scope of this "Intent to Ship" is only v1, which is explained in our long term plan. We have been conducting the Origin Trial for v1 features. Given that the outcome is promising, we’d like to ship v1 as MVP in order to mitigate the risk of "develop everything and ship them all at once".
After shipping v1, we'll explore v2, designing and implementing missing key features, eg. cache-aware WebBundles. There are several proposals, such as Bundle Preloading (discussion), Bundle Dependencies, and others. We continue to explore this area to identify a missing Web Platform primitive in order to serve large Web Apps in a cache-efficient way with Web Bundles.
Blink component
Blink>Loader>WebPackaging
TAG review: https://github.com/w3ctag/design-reviews/issues/616
TAG review status: While the status of the review is open, we have addressed the concerns raised in the discussion. In particular, we plan to explore the designs in v2 as explained above. Additionally, if a concern with the extension part continues to be an issue, we aim to address it in v2 as well.
Risks:
Interoperability and Compatibility:
No interoperability and compatibility risk has been identified. This is purely a feature addition. A browser which doesn’t support this feature should load subresources from the network, as usual.
Gecko: No signal (issue)
WebKit: No signal (ML)
Web Developers:
Google Ads (use case) (origin trial participant)
> Web bundle serving is a major overhaul of how GPT requests and renders ads, built on top of a new browser API which we have been designing with the Chrome team. It offers large loading performance improvements and security and privacy relative to safeframe rendering:
Performance improvements by fetching multiple Ads creatives in a single request.
Enhance privacy: Creative contents can no longer be read or modified by the publisher or others in the publisher's JS context. Creatives can no longer read or modify each other.
Ergonomics
This feature can be used to improve loading performance by fetching multiple resources in a single request. If a browser doesn’t support this feature, a request should be served from a network as usual.
`HTMLScriptElement.supports("webbundle")` can be used for feature detection as well.
There are several tools and plugins available for packaging Web Bundles.
Security
Received approval for Security and Privacy in our launch bug. We had addressed a security concern for the usage of <link> elements. The API now uses <script> elements. We ship only <script type=webbundle>.
Debuggability
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 (link).
Is this feature fully tested by WPT?
Yes (link).
Tracking bug
Launch bug
Estimated milestones
M102
Links to entry on the Chrome Platform Status https://chromestatus.com/feature/5710618575241216
--
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/CAFpjS_10M-CYuWz%2BE__id-e7jey0kA6J-ayF8qy8wdPgzeSZZA%40mail.gmail.com.
Hi there,Has anything changed between the OT and this launch?
I am sharing the feedback from the Origin Trial with 12 participants:
10 of them responded "Extremely likely" to "How likely are you to keep using this feature?"
Qualitative feedback:
"I'm very excited about the CSP interpretation change rolling out in M92"
"looking forward to the CSP fix!"
"I'm very glad you're working on this!"
"This feature is great! I'd love to see it fully launch"
--
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/45f97f97-7db0-42ee-bea8-d01ddb344ba6n%40chromium.org.
Microsoft has a strong interest in seeing this feature ship. We believe that sub-resource bundling is opening the door to a new way of shipping and delivering offline web applications, changing the traditional definition of “web application”.
Here are some ways Microsoft products can take advantage of this:
PowerApps
Microsoft PowerApps allows a developer to author an application and deploy to iOS, Android, and the web. The first two platforms allow applications to be deployed and used when the device is offline, but the latter is currently not “installable” on the device. Web bundling could unlock the capability for a web application to be “installed” on a device to operate offline.
Office Online
Office productivity web applications are a perfect example of applications that could benefit from a packaged bundle of application resources. Combined with local storage APIs, this could help developers reach communities that have little to no network connectivity.
While there have been concerns brought up by the community, we welcome the opportunity to collaborate on addressing these issues in the next iteration of this project. We feel confident we can resolve them in a way that preserves the integrity of the open web.
Ben Mathwig
Senior Product Manager
Microsoft Edge Web Platform
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/81ea3aac-58c3-4a77-941a-b647c03b2edfn%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6e6886f3-b5e6-4818-9edd-0acb9364e745n%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw8RF%2B8r8xgiMjvfkg71%2BJEw1J5JfdzTptnYJTSRt9T5AQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfWvwR71_22zF5DR-iSr6ozfUbHR%2BOxLMcvQ70iap%3DsoVA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFpjS_3sQTfJW%3DTLS7s5SAsFM6ZHzkGooB%3DK3u4q_D9Qf4gmfQ%40mail.gmail.com.