brotli decompressor usage in browser?!?
jedie opened this issue · comments
Is there a way to use the decompressor part in browser?
I'm trying to figure this out myself, will let you know if I get anywhere.
It's a shame this package doesn't even have a demo.
Imagine in server side you compress images, js, css, and other stuff. In browser side, just download this pack, decompress and load! This will be great! Reduce download time for slow connections.
You can use browserify to compile brotli to a single file for the browser, or as a part of the build for your application.