package ocsigenserver

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

Install

Dune Dependency

Authors

Maintainers

Sources

5.0.0.tar.gz
md5=ac7f9fcf1aced530061ceb4c76efe475
sha512=5691d1cc53725466bf0548fdaa8b4b624b9ac20aa41152f61020da05696a2d0e3cd010d9d72aa60d55216ca4b1b3938573e00c7d922e034d1080508ec46b47dd

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.