Skip to content
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

Extra eagerness option (instant hover) #343

Open
tvereecke opened this issue Oct 30, 2024 · 3 comments
Open

Extra eagerness option (instant hover) #343

tvereecke opened this issue Oct 30, 2024 · 3 comments

Comments

@tvereecke
Copy link

tvereecke commented Oct 30, 2024

An extra eagerness option which triggers on hover (instant) would be nice.

This allows more aggressive speculation while still being linked to specific user actions. (compared to eagerness=eager)

This would also allow prewarming the prefetch cache with HTML by the time the prerender starts with eagerness=moderate

  • Prefetch: OnHover (instant hover)
  • Prerender: OnHover (200ms hover)
@domenic
Copy link
Collaborator

domenic commented Oct 31, 2024

In Chromium, we'd like to make "moderate" 200 ms hover and "eager" instant hover. This is on our near-term roadmap. But we'd kind of like to bundle it with changes to add better behaviors for mobile.

@tvereecke
Copy link
Author

Thank you Domenic, that sounds excellent!

@tunetheweb
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants