ocsigen-start.client
Request_cache.Make
Functor which creates a module Cache_sig.
Cache_sig
ocsigen-start.server
module M : sig ... end
type key = M.key
The type of the key
type value = M.value
The type of the value
val has : key -> bool
Returns true if the key has been stored into the cache.
true
val set : key -> value -> unit
Set the corresponding value for a key.
value
val reset : key -> unit
Remove a value for the given key.
val get : key -> value Lwt.t
Get the value corresponding to the given key.