Skip to content

Allow multiple Speculation Rules #273

Description

@midzer

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

if (isSpecRulesExists()) {

Additional context
Would be happy to open a PR for this.

Have a nice weekend
midzer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions