@@ -636,9 +636,7 @@ which will automatically do most of these things for you:
636
636
- **Compress your assets **: Your web server should compress (e.g. using gzip)
637
637
your assets (JavaScript, CSS, images) before sending them to the browser. This
638
638
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.
642
640
643
641
- **Set long-lived cache expiry **: Your web server should set a long-lived
644
642
``Cache-Control `` HTTP header on your assets. Because the AssetMapper component includes a version
@@ -716,8 +714,8 @@ Does the AssetMapper Component Minify Assets?
716
714
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
717
715
718
716
Nope! 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.
721
719
722
720
Is the AssetMapper Component Production Ready? Is it Performant?
723
721
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1152,7 +1150,6 @@ command as part of your CI to be warned anytime a new vulnerability is found.
1152
1150
.. _class syntax : https://caniuse.com/es6-class
1153
1151
.. _UX React Documentation : https://symfony.com/bundles/ux-react/current/index.html
1154
1152
.. _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/
1156
1153
.. _Lighthouse : https://developers.google.com/web/tools/lighthouse
1157
1154
.. _Tailwind : https://tailwindcss.com/
1158
1155
.. _BabdevPagerfantaBundle : https://github.com/BabDev/PagerfantaBundle
0 commit comments