I want to replace zlib with lz4 to address the issue of high compression time. However, the trade-off is a reduced compression ratio; the data compressed with lz4 is 50% to 70% larger than that compressed with zlib.
I want to configure high compression, but I am compressing code blocks and need to use the lz4.decodeBlock method from the lz4 CDN resource on the client side, so I cannot use createEncoderStream and createDecoderStream.
My situation is compress in node-> decompress in node and client.
What can i do to resolve this problem? Thanks~
related mr
web-infra-dev/rsdoctor#432