Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to preload links: feature not supported #1206

Open
BigBenJr opened this issue May 2, 2023 · 1 comment
Open

Unable to preload links: feature not supported #1206

BigBenJr opened this issue May 2, 2023 · 1 comment

Comments

@BigBenJr
Copy link

BigBenJr commented May 2, 2023

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

@Kocal
Copy link
Contributor

Kocal commented May 2, 2023

Hi, I think the best place to open this issue is in https://github.com/symfony/webpack-encore-bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants