Re: [whatwg/fetch] preload, destinations, and module scripts (#486)

@domenic I forgot that request destination and type are distinct for a reason. Ugh.

However, if you need to preload a graph, perhaps something like rel=modulepreload is better. That still doesn't allow a e.g. a service worker to just fetch a module script and the browser to start lazily compiling it though, so I still think we should consider the MIME type strongly. It's the only thing that's tightly coupled with the thing we care about, the response.

-- 
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/issues/486#issuecomment-280353718

Received on Thursday, 16 February 2017 15:00:35 UTC