@@ -636,9 +636,7 @@ which will automatically do most of these things for you:
636636- **Compress your assets **: Your web server should compress (e.g. using gzip)
637637 your assets (JavaScript, CSS, images) before sending them to the browser. This
638638 is automatically enabled in Caddy and can be activated in Nginx and Apache.
639- In Cloudflare, assets are compressed by default and you can also
640- enable `auto minify `_ to further compress your assets (e.g. removing
641- whitespace and comments from JavaScript and CSS files).
639+ In Cloudflare, assets are compressed by default.
642640
643641- **Set long-lived cache expiry **: Your web server should set a long-lived
644642 ``Cache-Control `` HTTP header on your assets. Because the AssetMapper component includes a version
@@ -716,8 +714,8 @@ Does the AssetMapper Component Minify Assets?
716714~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
717715
718716Nope! Minifying or compressing assets *is * important, but can be
719- done by your web server or a service like Cloudflare. See
720- :ref: ` Optimization < optimization >` for more details.
717+ done by your web server. See :ref: ` Optimization < optimization >` for
718+ more details.
721719
722720Is the AssetMapper Component Production Ready? Is it Performant?
723721~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1152,7 +1150,6 @@ command as part of your CI to be warned anytime a new vulnerability is found.
11521150.. _class syntax : https://caniuse.com/es6-class
11531151.. _UX React Documentation : https://symfony.com/bundles/ux-react/current/index.html
11541152.. _UX Vue.js Documentation : https://symfony.com/bundles/ux-vue/current/index.html
1155- .. _auto minify : https://developers.cloudflare.com/support/speed/optimization-file-size/using-cloudflare-auto-minify/
11561153.. _Lighthouse : https://developers.google.com/web/tools/lighthouse
11571154.. _Tailwind : https://tailwindcss.com/
11581155.. _BabdevPagerfantaBundle : https://github.com/BabDev/PagerfantaBundle
0 commit comments