Re: [w3ctag/design-reviews] <link> rel="modulepreload" (#213)

You can polyfill `modulepreload` on top of `fetch()`. I'm not sure `fetch()` itself should support recursive fetching, that seems like a layering violation of sorts. (Although maybe `fetch()` should have a way to bypass the "preload cache", once we've properly defined it, as arguably that would be the low-level call.)

https://github.com/whatwg/fetch/issues/486#issuecomment-282044172 addresses to some extent why it wasn't generalized, but I certainly agree with your impression that there's more to explore around the commonalities of CSS and script loading. A somewhat big problem we have today is that the former isn't properly defined.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/213#issuecomment-362802350

Received on Saturday, 3 February 2018 13:29:14 UTC