package ocsigenserver

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

7.0.0.tar.gz
md5=ecf37dc2e2ad43f38dfcca8f87ca04a9
sha512=96dffc87f11b82b810d95d6e0cad69ce12a6763425e6e59f211dd71492d777a0cd1aeca722c0c9fd9ec8bb55cad7ae0ba1c781a8129a18de86f0f3accb278118

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.