8000 [WebLink] Fixed the preload links by javiereguiluz · Pull Request #15375 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[WebLink] Fixed the preload links #15375

8000
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

Merged
merged 1 commit into from
May 27, 2021

Conversation

javiereguiluz
Copy link
Member

As you can see at https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload, the <link> elements that use preload follow this syntax:

<link rel="preload" href="..." as="...">

That's why I think we need to change all our rel="stylesheet" by rel="preload" ... unless the preload() Twig function replaces the entire <link>, which I don't think it's the case

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

Successfully merging this pull request may close these issues.

3 participants
0