Skip to content

Commit 77f00ee

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [AssetMapper] Deleting duplicated info
2 parents e395ed6 + ef2c3b2 commit 77f00ee

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

frontend/asset_mapper.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -592,19 +592,15 @@ is being built, which you can ignore.
592592
Deploying with the AssetMapper Component
593593
----------------------------------------
594594

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:
596596

597597
.. code-block:: terminal
598598
599599
$ php bin/console asset-map:compile
600600
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.
608604

609605
.. _optimization:
610606

0 commit comments

Comments
 (0)