Skip to content

Unable to preload links: feature not supported #210

@BigBenJr

Description

@BigBenJr

Hi. I activated in config/packages/webpack_encore.yaml the preload of script & link tags via HTTP/2 Link header
preload: true

But I see this log error at each new request
unable to preload links: feature not supported

My base.html.twig used simple Encore entry tags

        {% block stylesheets %}
            {{ encore_entry_link_tags('app') }}
        {% endblock %}
        {% block javascripts %}
            {{ encore_entry_script_tags('app') }}
        {% endblock %}

Any idea on what should I do to activate this feature ?
Thanks !

symfony/webpack-encore-bundle v.1.16.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions