From f6e6e9b4e45a5c553697aae9248c480bd29db832 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 21 Nov 2023 22:49:37 +0100 Subject: [PATCH] docs: fix typo --- frontend/asset_mapper.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/asset_mapper.rst b/frontend/asset_mapper.rst index a3d32ea5114..4e53ac7bf94 100644 --- a/frontend/asset_mapper.rst +++ b/frontend/asset_mapper.rst @@ -609,7 +609,7 @@ When the browser downloads the page, this happens: 3. It *then* sees the ``bootstrap`` import and downloads ``assets/bootstrap.js``. Instead of downloading all 3 files in parallel, the browser is forced to -download them one-by-one as it discovers them. This is hurts performance. To fix +download them one-by-one as it discovers them. This hurts performance. To fix this, in ``importmap.php``, add a ``preload`` key to the ``app`` entry, which points to the ``assets/app.js`` file. Actually, this should already be done for you::