Skip to content

[AssetMapper] Section about minifying points to deprecated CloudFlare feature #19878

Closed
@cavias

Description

@cavias

Page: https://symfony.com/doc/current/frontend/asset_mapper.html#optimizing-performance

Text:

Compress your assets: Your web server should compress (e.g. using gzip) your assets (JavaScript, CSS, images) before sending them to the browser. This is automatically enabled in Caddy and can be activated in Nginx and Apache. In Cloudflare, assets are compressed by default and you can also enable auto minify to further compress your assets (e.g. removing whitespace and comments from JavaScript and CSS files).

Issue:
The auto minify link points to https://developers.cloudflare.com/speed/optimization/content/auto-minify/ which clearly states the following:

Deprecation notice

Auto Minify is deprecated and will be removed on 2024-08-05. After this date, Auto Minify will no longer be available via the Cloudflare dashboard, API, or Terraform.

We recommend that you minify at the origin during the build phase. Minification is included in most modern web development frameworks.

Which makes AssetMapper look like a 🤡 after boasting so much about how it doesn't need minifying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AssetMapperhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions