Skip to content

Commit 2b138ec

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: [AssetMapper] Remove Cloudflare auto-minify links
2 parents c223c31 + 09c639b commit 2b138ec

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

frontend/asset_mapper.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,7 @@ which will automatically do most of these things for you:
623623
- **Compress your assets**: Your web server should compress (e.g. using gzip)
624624
your assets (JavaScript, CSS, images) before sending them to the browser. This
625625
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.
629627

630628
- **Set long-lived cache expiry**: Your web server should set a long-lived
631629
``Cache-Control`` HTTP header on your assets. Because the AssetMapper component includes a version
@@ -694,8 +692,8 @@ Does the AssetMapper Component Minify Assets?
694692
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
695693

696694
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.
699697

700698
Is the AssetMapper Component Production Ready? Is it Performant?
701699
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1116,7 +1114,6 @@ command as part of your CI to be warned anytime a new vulnerability is found.
11161114
.. _class syntax: https://caniuse.com/es6-class
11171115
.. _UX React Documentation: https://symfony.com/bundles/ux-react/current/index.html
11181116
.. _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/
11201117
.. _Lighthouse: https://developers.google.com/web/tools/lighthouse
11211118
.. _Tailwind: https://tailwindcss.com/
11221119
.. _BabdevPagerfantaBundle: https://github.com/BabDev/PagerfantaBundle

0 commit comments

Comments
 (0)