send icon indicating copy to clipboard operation
send copied to clipboard

Why not also support deflate encoding?

Open corupta opened this issue 7 years ago • 1 comments

Hi, why not also support deflate encoding,

let's say that I have a file ending with .zz instead of .br and .gz and if the accept encodings permit I'd like to send it with deflate encoding.

I can create a PR, but does this not make sense?

Do browsers that support deflate but not gzip exists?

corupta avatar Nov 21 '18 19:11 corupta

@corupta The deflate protocol has some varying and broken implementations across different clients and is unpredictable. gzip is a very similar algorithm and is well supported. If you're doing ahead of time compression, then brotli is probably your best choice. To my knowledge there are no current browsers that support deflate that do not support gzip.

tracker1 avatar Nov 18 '19 23:11 tracker1