GoogleChromeLabs / GoogleChromeLabs/quicklink
Allow multiple Speculation Rules
Open
- Dominant language
- JavaScript
- Stars
- 11.3k
- Forks
- 429
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
According to https://developer.chrome.com/blog/prerender-pages/#multiple-speculation-rules the Speculation API allows multiple Speculation Rules. Right now `prerender: true` can only prerender a single URL in viewport.
**Describe the solution you'd like**
Remove https://github.com/GoogleChromeLabs/quicklink/blob/e6565ed12b4872b67a862b9fe2198fe0d73cb485/src/index.mjs#L247
**Additional context**
Would be happy to open a PR for this.
Have a nice weekend
midzer
Contributor guide
Assessment
This issue has not been assessed yet.