Re: [whatwg/fetch] Request.destination for `<link rel=prefetch>` (#658)

The `as` attribute for prefetch is not implemented anywhere, and we're not likely to introduce it without breaking [existing preloads](https://www.chromestatus.com/metrics/feature/timeline/popularity/901), so I suspect it will go away :/

`preload` without `as` is no longer a thing - `as` is now mandatory for preload (too many people getting it wrong and double downloading). We create the "potential destination" concept that converts the "fetch" `as` value into the empty string destination.

I'm fine with folding `prefetch` onto the empty string destination and doing CSP using a separate initiator, at least until a strong use-case for a separate destination emerges.

-- 
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/658#issuecomment-355913207

Received on Monday, 8 January 2018 09:07:35 UTC