GoogleChromeLabs / GoogleChromeLabs/quicklink

Allow multiple Speculation Rules

Open
#273 6 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.