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
Resources shared across documents controlled by different service workers #244
Comments
Or the sharing can only be allowed on the networking layer? |
@annevk We started this discussion in the Let's discuss this topic there. Closing. |
No that is something else. Imagine the user having |
Getting just a single event for multiple requests means there must be some additional logic to aggregate them in Fetch layer I guess. Sharing resources at some point (i.e., network layer cache or SW cache for authors) is a must for sure, but I'm not sure how much benefit we can get from aggregating requests. |
I'm leaning towards only at the network level and even that I'm not putting in the specification. But I'm somewhat curious if implementers I have not talked to explicitly have different ideas. |
I would expect that to cause two events. |
Closing this for now. It seems everyone agrees that sharing is unlikely to happen and if it does it should not be observable (easily). |
Currently Fetch (at least as defined in HTML) allows the user agent to share fetching of a resource across e.g. document or even origin boundaries. So if the user has http://example/mail/ and http://calendar/ open and they both fetch /test that can be shared.
I guess if both are controlled by a service worker this is impossible? Or if either?
The text was updated successfully, but these errors were encountered: