[ANN] - MlFront_Cache - Transient caches + slowly varying data

I am happy to announce that MlFront_Cache.2.3.0, a framework for transient caches and slowly varying data, was released today. It is available on opam with opam update and opam install MlFront_Cache.

MlFront_Cache lets you cache files and directories, all backed in a local sqlite3 database. It is a bit esoteric. I use it for:

  1. Transient caches when downloading zip files.
  2. Immutable installs for DkCoder. A related use case is covered in detail in the docs as “Downloading datasets”.

Treat this as an alpha release with a somewhat unstable API. In particular, I haven’t implemented cache eviction yet.

Here are the relevant links:

Sidenote: The docs won’t be available on ocaml.org. Use the doc links above until I figure out a technical solution (very low-priority).

2 Likes