Repository navigation
Conversation
- removed loadpolicy attribute - loadpolicy=next -> prerender - loadpolicy=next inert -> prefetch
There was a problem hiding this comment.
Can we add the above paragraphs (or something similar) to the new "prefetch" section?
There was a problem hiding this comment.
It is there, see line 233 in updated file.
|
LGTM |
|
Any opinions / suggestions on prerender + Practically speaking, today nothing stops someone from specifying a non-HTML resource via In the spirit of keeping things simple, I propose we omit "as" on prerender and implicitly restrict it to HTML and page prerendering use cases. Nothing stops us from expanding this functionality in the future by adding Thoughts? |
|
Sounds good as long as the UA is free to preprocess other types of resources (without triggering extra requests or any other side effects) |
We can expand the scope to non-HTML resources, if needed, in the future. As such, current definition specifies the currently implemented behavior in Chrome and IE.
- 'as' must be optional to be backwards compatible - 'as' is defined in Preload, link there to avoid duplication
As such, I believe this should be good to merge now.. Assuming I get an LGTM :-) |
There was a problem hiding this comment.
Should we add network "cost" to the list?
|
Flagging for review |
|
Ok.. after a quick review, this looks good to merge. Will review in detail with sub-team that has previously implemented IE's prefetch/prerender logic and come back with any additional notes in future. |
|
LGTM |
|
Merged in d33f603. |
Preview: https://rawgit.com/w3c/resource-hints/prefetch-prerender/index.html
loadpolicyattributeTODO's and open questions:
asattribute on prefetchason prerender? Or, should we keep it scoped to HTML documents?