Skip to content

modulepreload with fetchpriority=low #20

@montalvomiguelo

Description

@montalvomiguelo

Hi @slavafyi :)

Seems like the modulepreload tags load scripts with high priority, which could affect LCP loading WordPress/gutenberg#70173.

What if they had fetchpriority=low, like in Horizon, to prevent this issue?

modulePreloadTags.push(`<link rel="modulepreload" href="{{ '${fileName}' | asset_url }}">`)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions