# Simple\_http.1.1 available

**URL:** <https://discuss.ocaml.org/t/simple-http-1-1-available/18399>\
**Category:** Community\
**Tags:** announce\
**Created:** [July 27, 2026, 7:00pm UTC](https://discuss.ocaml.org/t/simple-http-1-1-available/18399 "2026-07-27T19:00:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![craff](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/craff/32/3281_2.png) [@craff](https://discuss.ocaml.org/u/craff)\
**Post date:** [July 27, 2026, 7:00pm UTC](https://discuss.ocaml.org/t/simple-http-1-1-available/18399/1 "2026-07-27T19:00:47Z")

</div>

Dear Camlers,

# Announcing Simple\_httpd 1.1

I’m pleased to announce the release of **Simple\_httpd 1.1** , a lightweight but feature-rich HTTP/HTTPS server library for **OCaml 5** , designed with a strong emphasis on **performance** , **simplicity** , and **production use**.

It started as a fork of [tiny\_httpd](https://github.com/c-cube/tiny_httpd) to experiment with OCaml 5 domains and effects, Simple\_httpd has now matured into a robust server used to host real websites.

Documentation : [index (simple\_httpd.index)](https://raffalli.eu/simple_httpd/simple_httpd/index.html) (served by simple\_httpd, and containing nice benchmarks)

Github : [GitHub - craff/simple\_httpd: A library to write web server and site · GitHub](https://github.com/craff/simple_httpd).

## Highlights

- **Very fast** : built around Linux **epoll** , **eventfd** , OCaml 5 **domains** and **effects** , with careful attention to latency and throughput. Benchmarks show excellent performance, competitive with or exceeding traditional web servers for many workloads.

- **Production ready** : the server has been running real websites reliably for months, validating both its performance and stability in everyday use.

- **Compiled server-side templates** : `.chaml` files provide an OCaml equivalent of PHP, except that templates are **compiled** rather than interpreted, combining flexibility with native performance. It is much faster than php.

- **Flexible routing** : requests can be dispatched not only by path and HTTP method, but also by host name, address and port, making virtual hosting straightforward.

- **Static and embedded resources** : serve files directly from the filesystem, or package them into the executable using `vfs_pack`. Compression is supported in both cases and small file may even be cached in memory in the second case.

- **Built-in monitoring** : integrated status pages expose CPU usage, memory consumption, active connections, file descriptors and logs, making deployment and debugging much easier. We also provide server sent event and websocket, with a full featured terminal as an application.

- **Modern HTTP 1.1 features** : HTTPS, cookies, authentication, logging with levels, and optional database integration through Caqti are available out of the box. More are planned : anti attack!

Simple\_httpd remains true to its original philosophy: provide a web server that is **easy to use** , **easy to extend** , yet **fast enough for demanding production applications**.

Feedback, bug reports and contributions are very welcome!

---

_[View the full topic](https://discuss.ocaml.org/t/simple-http-1-1-available/18399)._
