Skip to content

Upstreaming speculation rules and prefetch to HTML #11123

@domenic

Description

@domenic

What is the issue with the HTML Standard?

Chromium has been developing and specifying various speculative loading features over in https://github.com/WICG/nav-speculation.

Recently, Mozilla expressed interest in seeing a subset of these upstreamed to HTML: see mozilla/standards-positions#620 (comment) and preceding comments. We're very excited to work on this from the Chromium side, although it might take a quarter to shift around engineering resources before we start really making active progress.

This issue is for tracking and planning that work. A tentative plan, very open to feedback:

  • The initial target is speculation rules and prefetch
    • We would omit prerender-specific pieces for now, e.g. the prefetch + prerender integration parts of the prefetch spec, and the prerender type in the speculation rules spec.
      • (Or maybe we should include the prerender type but allow it to trigger prefetch behavior?)
  • We should fix all relevant issues tagged needs spec edits and bug before the upstreaming.
    • Most of these are around service worker integration, and Chromium is working through them now as we implement service worker + prefetch support.
  • Similar to the discussion in URL-bar triggered prerendering #7533, we can add a specific carveout to allow browser UI to trigger prefetching, separate from speculation rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions