-
Notifications
You must be signed in to change notification settings - Fork 23
As a developer I want to preload a resource that will be consumed by... #55
Comments
IRC log of #whatwg discussion: http://logs.glob.uno/?c=freenode%23whatwg&s=2+Feb+2016&e=2+Feb+2016#c983589 |
If I read the IRC discussion correctly, its conclusion is that new Is that correct? If so, I like the general idea, but have a few comments:
|
@yoavweiss see whatwg/fetch#211 for the proposed list, let's take this feedback there?
See w3c/webappsec-csp#31.
Yes, but I do believe it's required for destination's other users. For us (preload), that's fine though: more granular is OK.
What about them, specifically? |
The "worker" comment was based on a misunderstanding regarding the spreadsheet. whatwg/fetch#211 covers everything. About ES6 modules, I guess the question is if they will be treated as script (and subject to |
Current integration with Fetch API (
as
is mapped to Request.type) enables the following use cases:<audio>
<link rel=preload as=audio>
<video>
<link rel=preload as=video>
<script>
, Worker's importScripts<link rel=preload as=script>
<link rel=stylesheet>
, CSS @import<link rel=preload as=style>
<link rel=preload as=font>
<img>
,<picture>
, srcset, imageset<link rel=preload as=image>
<image>
, CSS *-image<link rel=preload as=image>
<link rel=preload as=...>
❓<link rel=preload as=...>
❓<embed>
<link rel=preload as=...>
❓<object>
<link rel=preload as=...>
❓<iframe>
,<frame>
<link rel=preload as=...>
❓We need to enable the last five. What's the best route to do so? Fetch's current definition for
Request.type
does not have enough granularity to distinguish between these.The text was updated successfully, but these errors were encountered: