@@ -623,9 +623,7 @@ which will automatically do most of these things for you:
623
623
- **Compress your assets **: Your web server should compress (e.g. using gzip)
624
624
your assets (JavaScript, CSS, images) before sending them to the browser. This
625
625
is automatically enabled in Caddy and can be activated in Nginx and Apache.
626
- In Cloudflare, assets are compressed by default and you can also
627
- enable `auto minify `_ to further compress your assets (e.g. removing
628
- whitespace and comments from JavaScript and CSS files).
626
+ In Cloudflare, assets are compressed by default.
629
627
630
628
- **Set long-lived cache expiry **: Your web server should set a long-lived
631
629
``Cache-Control `` HTTP header on your assets. Because the AssetMapper component includes a version
@@ -694,8 +692,8 @@ Does the AssetMapper Component Minify Assets?
694
692
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
695
693
696
694
Nope! Minifying or compressing assets *is * important, but can be
697
- done by your web server or a service like Cloudflare. See
698
- :ref: ` Optimization < optimization >` for more details.
695
+ done by your web server. See :ref: ` Optimization < optimization >` for
696
+ more details.
699
697
700
698
Is the AssetMapper Component Production Ready? Is it Performant?
701
699
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1116,7 +1114,6 @@ command as part of your CI to be warned anytime a new vulnerability is found.
1116
1114
.. _class syntax : https://caniuse.com/es6-class
1117
1115
.. _UX React Documentation : https://symfony.com/bundles/ux-react/current/index.html
1118
1116
.. _UX Vue.js Documentation : https://symfony.com/bundles/ux-vue/current/index.html
1119
- .. _auto minify : https://developers.cloudflare.com/support/speed/optimization-file-size/using-cloudflare-auto-minify/
1120
1117
.. _Lighthouse : https://developers.google.com/web/tools/lighthouse
1121
1118
.. _Tailwind : https://tailwindcss.com/
1122
1119
.. _BabdevPagerfantaBundle : https://github.com/BabDev/PagerfantaBundle
0 commit comments