Re: [whatwg/fetch] Integration with preload (PR #1342)

> Actually, I'm not sure. Doing a cache lookup synchronously seems bad, but perhaps that is what implementations do? That probably warrants a bit more investigation. One way to do it later in "main fetch" would be to check the value of _recursive_ I suppose, although that might still run into problems with HTTP authentication requests.

Cache lookup *should* be synchronous IMO as it relies on something controlled by the main thread, making it parallel would create either locks or unnecessary races.

Maybe keeping it where I put it is correct?

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

Received on Thursday, 4 November 2021 10:16:12 UTC