File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -592,19 +592,15 @@ is being built, which you can ignore.
592
592
Deploying with the AssetMapper Component
593
593
----------------------------------------
594
594
595
- When you're ready to deploy, "compile" your assets during deployment :
595
+ When you're ready to deploy, "compile" your assets by running this command :
596
596
597
597
.. code-block :: terminal
598
598
599
599
$ php bin/console asset-map:compile
600
600
601
- That's it! This will write all your assets into the ``public/assets/ `` directory,
602
- along with a few JSON files so that the ``importmap `` can be rendered lightning fast.
603
-
604
- But to make sure your site is performant, be sure that your web server
605
- (or a proxy) is running HTTP/2, is compressing your assets and setting
606
- long-lived Expires headers on them. See :ref: `Optimization <optimization >` for
607
- more details.
601
+ This will write all your versioned asset files into the ``public/assets/ `` directory,
602
+ along with a few JSON files (``manifest.json ``, ``importmap.json ``, etc.) so that
603
+ the ``importmap `` can be rendered lightning fast.
608
604
609
605
.. _optimization :
610
606
You can’t perform that action at this time.
0 commit comments