Skip to content

Early hints: media, imagesrcset, imagesizes #7873

@noamr

Description

@noamr

Currently the media, imagesrcset, and imagesizes are ignored for early hints. This means that an early hint to preload a mobile-only image would still preload it on desktop.

I'm suggesting, instead, that those attributes are respected, but that for a start those links become un-early (they're treated as regular link headers, processed upon document initialization).

This would make the link header spec a bit more aligned, and perhaps fitting better with developer intent.

@yoavweiss @bashi @nhiroki please CC whoever else :)

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