package ocsigenserver

  1. Overview
  2. Docs
A full-featured and extensible Web server

Install

Dune Dependency

Authors

Maintainers

Sources

5.1.2.tar.gz
md5=cc9afaa6cad28fb2b6c803ed6cec308f
sha512=9096bc31a55f9d47f5f9b708b16d8b32cfcab99e514bce086046cf78e9731076bf2adac7e68b4291f3a0e65048e70e7c43fa2df8b80ae0eed62840db3e216b77

doc/ocsigenserver.baselib/Ocsigen_cache/Make/index.html

Module Ocsigen_cache.MakeSource

Parameters

module A : sig ... end

Signature

Sourceclass cache : (A.key -> A.value Lwt.t) -> ?timer:float -> int -> object ... end

new cache finder ?timer size creates a cache object where finder is the function responsible for retrieving non-cached data, timer (if any) is the life span of cached values (in seconds) (values in the cache are removed after their time is up) and size is the upper bound to the number of simultaneoulsy cached elements.

OCaml

Innovation. Community. Security.