-
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
Update content-addressable-bundles.md #639
Conversation
hayatoito
commented
Mar 17, 2021
- Add a link to issue Content Addressable Bundles #638
- Add "URL integrity" to Goal
- Add "Resource Batch Preloading" to references
I've added a link to issue #638 so that a reader can know the position of this proposal, and find easily where they can give feedback. |
- Add a link to issue WICG#638 - Add "URL integrity" to Goal - Add "Resource Batch Preloading" to references
05cbcba
to
d394f35
Compare
- Update Goal section (Content-Addressability) - Update Cache stragegy section, mentioning a browsers' HTTPCache per Origin. - Add placeholders to Key scenario section as TODOs
- Updare references
There are several commits in this PR. I'll do "squash and merge" so that this can be one commit. |
where the bodies of `bundle-C`, `bundle-D`, `bundle-E` are omitted to save the | ||
cache disk space, the browser can start to fetch them again, possibly in | ||
parallel. Note that a browser can start to fetch `bundle-D` and `bundle-E` | ||
immediately without waiting fetching `bundle-C` (and scanning its index |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding is:
- Web developers should write multiple webbundle link elements in the HTML to fetch the webbundles in parallel if the loading performance is important.
- This nested webbundle format should be used when lazy-loading is important, and the loading performance is not important.
Is my understanding correct?
If so, I don't understand the motivation of browser developers of introducing a new cache mechanism to keep the dependency information. Could you please explain this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A good question!
It's fine for a browser to prefetch nested bundles even if a user doesn't request it explicitly.
- If a user requests prefetch via
<link>
elements explicitly, browser should prefetch it. - If a user doesn't request it via
<link>
elements, a browser doesn't have to prefetch it, but may prefetch it, enabling the content to load instantly if and when the user requests it.
- Add FAQ: WebBundles for Ad Serving use cases - Add FAQ: Subresource Integrity
- Add FAQ: More flexible way for mapping.
- Mention Merkle Integrity Content Encoding - Some editorial fixes
Let me close this PR since I don't have a plan to work on this soon. |