From 479e0ad197a1ca23292ca6008ebb6807f2c97e2d Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Fri, 30 May 2025 17:07:45 +0200 Subject: [PATCH] [AssetMapper]: "server" -> "machine" Page: https://symfony.com/doc/current/frontend/asset_mapper.html#pre-compressing-assets Doesn't have to be a server, can be any (dev) machine, right? --- frontend/asset_mapper.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/asset_mapper.rst b/frontend/asset_mapper.rst index d9c15a136b0..247f4f60763 100644 --- a/frontend/asset_mapper.rst +++ b/frontend/asset_mapper.rst @@ -740,7 +740,7 @@ Symfony will add a ``Link`` header in the response to preload the CSS files. Pre-Compressing Assets ---------------------- -Although most servers (Caddy, Nginx, Apache, FrankenPHP) and services like Cloudflare +Although most web servers (Caddy, Nginx, Apache, FrankenPHP) and services like Cloudflare provide asset compression features, AssetMapper also allows you to compress all your assets before serving them. @@ -750,7 +750,7 @@ server, which then returns them to the client without wasting CPU resources on compression. AssetMapper supports `Brotli`_, `Zstandard`_ and `gzip`_ compression formats. -Before using any of them, the server that pre-compresses assets must have +Before using any of them, the machine that pre-compresses assets must have installed the following PHP extensions or CLI commands: * Brotli: ``brotli`` CLI command; `brotli PHP extension`_;