coast-team / mute

a scalable collaborative document editor with CRDT, P2P and E2EE
https://mute.loria.fr/
GNU Affero General Public License v3.0
127 stars 17 forks source link

Brotli compression #69

Closed kalitine closed 7 years ago

kalitine commented 7 years ago

Current behavior postbuild command generates compressed versions of *.js and *.css files in the dist folder using gzip algorithm.

Expected behavior Make this command generate also compressed versions of these files with brotli algorithm.

What is the motivation / use case for changing the behavior? The newer versions of browsers support brotli algorithm which has a better performance (compression size and decompression speed) than gzip.

Tips For now brotli is supported only with https protocol.

kalitine commented 7 years ago

Done.