package ocsigenserver

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

Install

Dune Dependency

Authors

Maintainers

Sources

5.1.0.tar.gz
md5=72c9e8479d7e4473e0d26ef10e620870
sha512=ed466e88a61c17d8b4e4cc392efc7b703ef1f4396bf41015fc85063bfe1644ace9b5361d804fb17da4957830c3584ad610f717eb1a90ccec002d3d87f79f41c4

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.