Skip to content

Commit ad8fac2

Browse files
committed
minor #19905 [AssetMapper] Remove Cloudflare auto-minify links (smnandre)
This PR was merged into the 6.4 branch. Discussion ---------- [AssetMapper] Remove Cloudflare auto-minify links As Cloudflare is deprecating their auto-minify feature, let's remove it from the doc Commits ------- 255cf60 [AssetMapper] Remove Cloudflare auto-minify links
2 parents f3356f4 + 255cf60 commit ad8fac2

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
@@ -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

718716
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.
721719

722720
Is 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

Comments
 (0)