-
Notifications
You must be signed in to change notification settings - Fork 56
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
Speculation rules: target_hint field #931
Comments
We're just taking a look at this today and noting that the section of the explainer doc you've linked to doesn't have explicit user needs indicated. Can you add something that indicates the user need you're trying to service here? I think it's something like "enhance the efficiency of pre-rendering so if the user's device does that pre-rendering work it's more likely to be used and therefore the user is more likely to have a performant experience" - is that correct? |
Also, the explainer mentions the desire to deprecate this, when the engineering work is done. I appreciate it's hard to predict how the work will go, but is there any way to firm up the timeline in the explainer, or for the public to track when it's complete? |
@nhiroki any updates to the above questions? |
Sorry for my late action. @robertlin-chromium is now updating the explainer. |
The updates have been merged in WICG/nav-speculation@d8ce9b5. |
For our background:
FWIW, after skimming the description, it seems like this is designed well, so that it can fade away once it's no longer needed, and that it doesn't add much complexity. |
Without stepping on @nhiroki's toes, the document rule syntax does allow selecting links in the page, and when that is done, the |
Thanks for explaining that this does re-use the Please keep working with Mozilla to figure out the right consensus syntax for this. Beyond that, we don't see any architectural issues and (ignoring any worries about the underlying feature) are satisfied with this extension. Thanks for sending this review! |
こんにちは TAG-さん!
I'm requesting a TAG review of
target_hint
field for speculation rules prerendering.This extends speculation rules syntax to allow developers to specify the
target_hint
field.This field provides a hint to indicate a target navigable where a prerendered page will eventually be activated. For example, when
_blank
is specified as a hint, a prerendered page can be activated for a navigable opened bywindow.open()
. The field has no effect on prefetching.Further details:
You should also know that...
n/a
We'd prefer the TAG provide feedback as (please delete all but the desired option):
☂️ open a single issue in our GitHub repo for the entire review
The text was updated successfully, but these errors were encountered: