ocsigen / ocsigenserver

Web server in OCaml.
http://ocsigen.org/ocsigenserver/
Other
100 stars 30 forks source link

Brotli compression #125

Open vouillon opened 7 years ago

vouillon commented 7 years ago

It would be nice to improve the deflatemod extension to support Brotli compression as well (with customizable compression settings, as Brotli can be slow).

vasilisp commented 7 years ago

If anybody is planning to do enhancements like these, please work against the cohttp branch (#124). Otherwise we will have trouble merging drastically incompatible changes.

dinosaure commented 7 years ago

A binding with brotli already exists. So, I know, this is put a new dependence in ocsigenserver but it will be good to use it.

Then, I take this opportunity to talk about decompress. For a mirage support, it will be good to use a full implemented compression in OCaml (and ocaml-git switchs recently to this library instead camlzip).