- From: Yoav Weiss <notifications@github.com>
- Date: Wed, 15 Apr 2015 22:55:49 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Thursday, 16 April 2015 05:56:18 UTC
> Enforce CSP based on specified context? /cc @mikewest Having `as` set context makes sense, but wouldn't that prevent authors from specifying various priorities to the fetched resource? e.g. If I have a background image that's extremely important and I want it to download in the same priority as CSS, I won't have a way to communicate that to the browser. IIRC that use case is the main reason the attribute is called `as` rather than `context`. If we go that route then maybe, for the case of `<link rel=preload>`, we need to add some priority hints on top of the context. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/43#issuecomment-93650410
Received on Thursday, 16 April 2015 05:56:18 UTC