Open easy28 opened 4 months ago
Thanks for the suggestion.
The implementation for this provided here: https://github.com/unoplatform/Uno.Wasm.Bootstrap/blob/9b559fc9a8b5e939fd99fa119a243e760ae3770d/src/Uno.Wasm.Bootstrap/ShellTask.cs#L498
With compression handlers provided here: https://github.com/unoplatform/Uno.Wasm.Bootstrap/blob/9b559fc9a8b5e939fd99fa119a243e760ae3770d/src/Uno.Wasm.Bootstrap/ShellTask.cs#L546
There are likely some additional considerations to provide around the availability of a .NET implementation or wrapper for zstd, as well as server-side support for such compressed files, such as azure static apps.
What would you like to be added
Add an option to generate zstd files for wasm head.
Why is this needed
zstd is generally faster and provides better compression ratio than br.
For which platform
WebAssembly
Anything else we need to know?
Chrome support zstd by default, expect smaller download size if zstd added.