Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Simple cache implementation to cache HTTP query results.
type E.error +=
| No_scheme of Iri.t
| No_host of Iri.t
| Unexpected_json of Yojson.Safe.t
| Missing_json_field of string
val 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
.