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

> Why does it need to be different from fetch() et al?

Presumably, a separate destination would enable SW code to know this fetch is speculative and destined for the next navigation. At the same time, I'm not aware of a concrete use-case for that.



> Maybe using initiator would be better if the purpose is just a unique CSP directive?

For CSP that would work 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-355911511

Received on Monday, 8 January 2018 08:58:21 UTC