Re: [whatwg/fetch] Process subresource link headers (PR #1409)

> Yeah, `fetch()` is a theoretical use case, but I'm not sure I have clear examples of it that can't be resolved by having the script that triggers the first fetch simply trigger other fetches in parallel.

 I was thinking of scenarios where you fetch() the script before executing it, fetch a JSON file that's going to eventually have side-effects that would have you load other resources, have a binary response for WASM that's going to end up downloading more resources in the future etc.

But I agree that starting with scripts & style is good (and having module scripts serve subresource `modulepreload`)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1409#issuecomment-1103983650
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1409/c1103983650@github.com>

Received on Wednesday, 20 April 2022 14:13:54 UTC