package ocsigenserver

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

Install

Dune Dependency

Authors

Maintainers

Sources

4.0.2.tar.gz
md5=5ea779e418bf936d7301057d6d95011c
sha512=e27b9ad71ac2bd0e817ff35b66de606ffabd5b71b88b34974cbf41181e5a824767616fdd2b7908539bdd394c0873aaacdc7768f6dc7ad3f9dc33e8eb1a6f9fa6

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.