You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
I noticed that prefetch can specify crossorigin attirbute when using the link tag. Could there also be an example of handling it with the Link: header.
A follow-up would be expanding on what are the accepted values of linkElement.crossOrigin=.... Is it just string values or will a boolean true or an empty string "" be treated as "anonymous"?
The text was updated successfully, but these errors were encountered:
Adding it as an attribute to headers is identical to other attributes: e.g. Link: <https://example.com/logo-hires.jpg>; rel=prefetch; as=image; crossorigin
or Link: <https://example.com/logo-hires.jpg>; rel=prefetch; as=image; crossorigin=anonymous
Do you think the spec is not clear enough on that front?
Ya, I eventually put it together looking at other blog posts / references. With CORS being its own header initially I wasn't sure if that would be tackled somewhere else.
I noticed that prefetch can specify crossorigin attirbute when using the link tag. Could there also be an example of handling it with the Link: header.
A follow-up would be expanding on what are the accepted values of
linkElement.crossOrigin=...
. Is it just string values or will a booleantrue
or an empty string""
be treated as"anonymous"
?The text was updated successfully, but these errors were encountered: