- From: Noam Rosenthal <notifications@github.com>
- Date: Mon, 20 Jan 2025 09:05:55 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 20 January 2025 17:05:59 UTC
> Looking at this one concern I have is that we preload for X and fulfill for Y. Is that possible? Can I preload something pretending it's going to be used as an image but then have it execute as a script? That's not possible. See https://html.spec.whatwg.org/multipage/links.html#consume-a-preloaded-resource The key for the preload cache includes the destination (the `as` attribute). So effectively each `as` has its own map. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1803#issuecomment-2602914820 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1803/c2602914820@github.com>
Received on Monday, 20 January 2025 17:05:59 UTC