Skip to content

Discussion on disabling preload with SRI enabled #2931

Open
@weihongyu12

Description

@weihongyu12

What problem does this feature solve?

According to the documentation, when SRI is enabled, preload resource hints are disabled due to a bug in Chrome which causes the resources to be downloaded twice.

But in our development work, in addition to Chrome, there are Firefox, Safari, Edge, etc., they all support preload.

I think we should not force disable preload

What does the proposed API look like?

We can provide the preload feature by default. For developers who mind this bug, they are allowed to manually turn off the preload feature.

We should give the corresponding tips in the documentation and promptly urge Chorme to fix this bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions