dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.21k stars 9.95k forks source link

Blazor Minify JSON #57884

Closed Beblia closed 2 days ago

Beblia commented 3 days ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe the problem.

No response

Describe the solution you'd like

Would be great to have a built in feature to minify json files in Blazor before they are served to clients. Thank you.

Additional context

No response

javiercn commented 3 days ago

@Beblia thanks for contacting us.

This is not a feature that we are considering any time soon. In general, minification doesn't offer a lot of benefits when compression is applied to the response, which as of .NET 9.0 happens for all assets in the app automatically.

dotnet-policy-service[bot] commented 2 days ago

This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes.

See our Issue Management Policies for more information.