Generic TTL cache with Eio
OCaml 83.0%
Dune 6.5%
Other 10.5%
10 1 0

Clone this repository

https://tangled.org/gazagnaire.org/ocaml-cache https://tangled.org/did:plc:jhift2vwcxhou52p3sewcrpx/ocaml-cache
git@git.recoil.org:gazagnaire.org/ocaml-cache git@git.recoil.org:did:plc:jhift2vwcxhou52p3sewcrpx/ocaml-cache

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

Cache - Generic TTL-based cache with Eio support#

A generic in-memory cache with configurable TTL (time-to-live), jitter to prevent thundering herd, and thread-safe access using Eio mutexes.

Installation#

opam install cache will install this library.

Documentation#