package activitypub

  1. Overview
  2. Docs

Module Activitypub.CacheSource

Simple cache implementation to cache HTTP query results.

Sourcetype E.error +=
  1. | No_scheme of Iri.t
  2. | No_host of Iri.t
  3. | Unexpected_json of Yojson.Safe.t
  4. | Missing_json_field of string
Sourceval mk_cache : root:string -> delay:int -> (module Ldp.Http.Cache_impl) Lwt.t

mk_cache ~root ~delay creates a cache storing files under root and entries expiring after delay.

OCaml

Innovation. Community. Security.