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

It seems reasonable to me that we'd continue using `destination` in cases where we know how the data will be used: `as` provides this information, so when it's present, we should use it.

If we don't have that information, I'd be fine either doing the same thing we do for `preload` without `as` (which I think defaults to `fetch`, and therefore sits under `connect-src`), or defining a new `initiator` and directive to match (`prefetch-src`). I don't have a strong opinion about that, so I'm happy to defer to you folks who own that feature (though, if we do the latter, perhaps it should control `preload` without `as` as well?).

-- 
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-355911351

Received on Monday, 8 January 2018 08:57:28 UTC