-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Meta] A long term plan for subresource loading #648
Comments
We've split the previous explainer into the core part and the extension part (PR #645). We've heard that you would work on Resource Batch Preloading proposal. We are wondering how the current core part is close enough so that Resource Batch Preloading can be explained based on the current core part (with v1 features). If you find something which might make it difficult for us to have a Resource Batch Preloading proposal, we'd appreciate your feedback! Regarding syntax, we've not decided anything about a new Thanks! |
This outline and layering looks good to me. Here is my view of next steps on my side (to rephrase what I wrote in WICG/bundle-preloading#21):
The API I was picturing looks quite similar to your Chromium design doc with the exception of the cache name, which I asked you about in a doc comment. What was the motivation for using a named cache, rather than having these simply be entries in the main HTTP cache? |
It is because the prototype CL is using Cache Storage to store each resources. If we will use the HTTP cache, we don’t need this cache name field. |
This is a little late, but some feedback on the plan:
Please let me know if I'm mistaken in my understanding, it's hard keeping up with the several documents related to Web Bundles/WPACK. |
Thanks for the feedback! Re 1: Re 2: |
Re 1: from an ads / #624 perspective, something similar to subresource bundles where extensions were able to read/modify the ad HTML would be completely fine. The goal is to isolate ads from (a) other ads and (b) JavaScript and running in the context of the publisher page. |
For 1: The concern is that the way these UUIDs will be generated is by the web bundle toolchain, meaning that every resource, even if it's the same across different websites, will have a unique (by definition) ID. I get that current bundler tools can do that as well, but this is standardizing and incentivizing that practice and the use of literally unique identifiers is unprecedented (afaik). #623 sounds like a much better approach (and I share the concerns articulated over there as well). For 2: it's good that it's in scope, but what is the fallback option here if a server refuses to acknowledge the proposed |
Thanks. For 1: Re #623, tt seems there is no activity for a year. Can we expect we have a progress on that? Re UUID approach, we're not aware whether there is any particular concern, technically or theoretically, on using UUID. For 2: |
Hi folks!
Let us share the current status and a future plan about Subresource Loading with Web Bundles.
Last update: Apr 2022
Status
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.
<script>
tag and define its scheme (Use <script> tag, instead of <link> tag #670)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.
v3 (Strawperson ideas, which are not triaged well yet)
<link rel=prefetch-for-navigation href=”//example.com/nextpage.wbn” page=”//example.com/nextpage.html”>
We'll try to keep this plan up-to-date.
The text was updated successfully, but these errors were encountered: