-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconsider nor and nrr fields. #49
Comments
Arguments against use of LINK header
|
Most of these are relevant to rel=preload. It might be appropriate to define a new relation in this specification and register it with IANA. The discussion seems to have largely concluded that the difficulty was the result having the same relation mean "the browser should request this" and "an intermediate cache should push this". The latter has a totally different security profile. A quick scan shows that there are now a whole collection of preload, prefetch, prerender, preconnect and so on for indicating that a UA should prepare to do a particular thing. None of them handle ranges. :D But the nor and nrr fields definitely feel "different" than the rest of the fields. They're more general and they have a larger security footprint. This wouldn't leverage any existing CDN behaviour, but it might get better adoption. |
Suggestion to explicitly ask for feedback on this issue as part of final community review. Cover letter with review asking for feedback on some high priority issues. This will be on of them. |
A new relation under a link would be required. rel=prefetch (URL to cache, range). Absolute URL would be an amplification attack vector. CDN would need to implement constraints even with relative URLs. Opened #66. |
These two fields exist to indicate to the CDN that it might wish to consider fetching the next content in order to reduce latency. One potential option: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link
The Link header is a standard and there is already some browser and CDN support around it. It might be worth just leveraging the existing header.
The text was updated successfully, but these errors were encountered: