[ANN] Ocsigen Server 8.0.0

Hi everyone!

Ocsigen Server 8.0.0 is out, the web server written in OCaml, usable as an executable or as a library. Some highlights:

  • One command, no config file: ocsigenserver ./public serves a directory, and ocsigenserver --reverse-proxy http://localhost:9000 puts a proxy in front of your app, with compression and security headers already on.
  • Static files now answer conditional requests (ETag, 304) and byte ranges, so seeking in a video or resuming a download just works.
  • zstd compression, on a new bytesrw backend.
  • A new Securityheaders extension.
  • Access logs in the standard Combined Log Format, readable by the usual tools.
  • The public modules were renamed (Ocsigen.Server, Ocsigen.Config, …). The new ocsigenserver-compat package keeps the old names, so existing code still builds.

opam install ocsigenserver

A release of Eliom and other projects compatible with this version will follow in a few weeks.

All the details are in the blog post: Ocsigen Server 8.0.0: one command, and a modernized API — Ocsigen

The recent progress in Ocsigen is impressive. Thank you very much.