Skip to content

Commit

Permalink
Merge pull request #626 from hayatoito/destination
Browse files Browse the repository at this point in the history
Set a request's destination to "webbundle"
  • Loading branch information
hayatoito authored Feb 24, 2021
2 parents d3e87eb + c43dc8a commit 2ca2c33
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions explainers/subresource-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ a format that allows multiple resources to be bundled, e.g.
- [The bundle](#the-bundle)
- [The main document](#the-main-document)
- [Request's mode and credentials mode](#requests-mode-and-credentials-mode)
- [Request's destination](#requests-destination)
- [Subsequent loading and Caching](#subsequent-loading-and-caching)
- [Compressed list of resources](#compressed-list-of-resources)
- [Alternate designs](#alternate-designs)
Expand Down Expand Up @@ -181,6 +182,15 @@ The following table is the summary.
[credentials mode]: https://fetch.spec.whatwg.org/#concept-request-credentials-mode
[cors settings attribute]: https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attribute

## Request's destination

With the `<link>`-based API, a
[request](https://fetch.spec.whatwg.org/#concept-request) for a bundle
will have its
[destination](https://fetch.spec.whatwg.org/#concept-request-destination)
set to "`webbundle`"
([whatwg/fetch#1120](https://github.com/whatwg/fetch/issues/1120)).

## Subsequent loading and Caching

[Dynamic bundle serving with
Expand Down

0 comments on commit 2ca2c33

Please sign in to comment.