We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a17b5c9 commit 7eff479Copy full SHA for 7eff479
web_link.rst
@@ -55,13 +55,7 @@ make one request for the HTML page and another request for the linked CSS file.
55
However, thanks to HTTP/2 your application can start sending the CSS file
56
contents even before browsers request them.
57
58
-To do that, first install the WebLink component:
59
-
60
-.. code-block:: terminal
61
62
- $ composer require symfony/web-link
63
64
-Now, update the template to use the ``preload()`` Twig function provided by
+You can update the template to use the ``preload()`` Twig function provided by
65
WebLink. The `"as" attribute`_ is mandatory because browsers need it to apply
66
correct prioritization and the content security policy:
67
0 commit comments