Description
Hi folks!
Let us share the current status and a future plan about Subresource Loading with Web Bundles.
Last update: Apr 2022
Status
- We're doing an origin trial in Chrome (M90 - M101). Landing page.
If we don't find any significant issue in OT and this feature is promising, as the next step, we'll work on addressing any
blocking issues or support feature requests, considering feedback from OT, so that we can ship
MVP (v1).
Tentative plan (No ETA):
Note: The following mentions only features. Any standard works or other tasks are not included.
v1
MVP, which proves that bundling multiple resources improves the loading performance than loading multiple resources separately using web native bundling format.
We consider MVP should be shipped with these features.
- The core part: Subresource Loading with Web Bundles
- The extension: Support opaque origin iframes
- Change urn:uuid to other scheme (Consider using a more specific scheme for opaque origin #650)
- Make primary URL optional (Should the primary URL be included in the bundle format? #616)
- Needs to update the bundle format.
- Support a relative URL of a resource in a bundle (Support a relative URL of a resource in a bundle. #647)
- Needs to update the bundle format? -> Clarified a relative URL is supported
- New syntax: Use
<script>
tag and define its scheme (Use <script> tag, instead of <link> tag #670) - CORP and COEP (Define how CORP and COEP should work for subresource loading #644)
- ServiceWorker integration (Better integration of Service Worker and Subresource Web Bundle loading #676)
- WONT in v1
- Increment the bundle format version?
- WONT. Note: Chromium uses "b2" internally until web bundle format goes to RFC.
v2
To cover more wider use cases, especially improving cache efficiency of each resources.
There are several proposals in this area and we'll explore this area in v2.
- Bundle Dependencies
- Index Section as Resources
- Subsetting (Bundle Preloading; formely known as Resource Batch Preloading, Resource Bundles)
- Chromium side design doc, based on Resource Bundles proposal.
v3 (Strawperson ideas, which are not triaged well yet)
- Resource Hints with webbundle
<link rel=prefetch-for-navigation href=”//example.com/nextpage.wbn” page=”//example.com/nextpage.html”>
- Needs a concrete proposal.
- Content Addressable Bundles
We'll try to keep this plan up-to-date.