Skip to content

Speculation Rules API #1081

@BearCooder

Description

@BearCooder

Description

Link to last year submission & discussion:
#754

The Speculation Rules API is designed to improve performance for future navigations. It targets document URLs rather than specific resource files, and so makes sense for multi-page applications (MPAs) rather than single-page applications (SPAs).

The Speculation Rules API provides an alternative to the widely-available feature. It provides many improvements over these technologies, along with a more expressive, configurable syntax for specifying which documents should be prefetched or prerendered.

Specification

https://wicg.github.io/nav-speculation/speculation-rules.html

Additional Signals

Webkit: WebKit/standards-positions#54
Mozilla: mozilla/standards-positions#620

Tests:
https://wpt.fyi/results/speculation-rules?label=master&label=experimental&aligned&q=speculation

Info about:

Specification

https://wicg.github.io/nav-speculation/speculation-rules.html

web-feature

https://web-platform-dx.github.io/web-features-explorer/features/speculation-rules/

Test Links

https://wpt.fyi/results/speculation-rules?label=master&label=experimental&aligned&q=speculation

Additional Signals

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions