Brotli and/or zstd, too? #1
Description
@leafac Thanks a bijillion for starting this project; the outline looks great and I trust that you in particular have spent some time thinking about the tradeoffs!
In vercel/pkg#837 (comment), you mention that the self-extracting archive uses gzip
, which is great. It was unclear to me if this applies to the Node binary or the user assets or both, but either way, I would encourage offering brotli
and/or zstd
as configurable options for the compressor. Brotli in particular offers an extremely good compression ratio while still being very fast to decompress — the tradeoff is longer compression time, but this is the ideal tradeoff for an app release build: it takes longer on the GitHub Actions runner, but results in a significantly smaller binary that is still near-instant to decompress.
If you need more convincing, I can pull up some hard numbers. :)
And thanks again for starting caxa! I love the name and story, and please provide some pronunciation tips for non-Portuguese-speakers! ;)