Scache is a simple module of (key,value) cache system using SQlite3 to persists some information on disk. It remains simple as we could see the interface.
module Cache: sig
type t
val get: t -> key:string -> string option
val set: t -> key:string -> value:string -> unit
val remove: t -> key:string -> unit
val start: name:string -> t
endScache use some component of ocurrent about SQlite3. The aims of Scache is to light and simplify as much as possible the (key,value) caching.
Scache create ./var/db/ directory where the SQlite file scache.db is stored. The env variable SCACHE_VAR can be used to set a preference directory (ex. SCACHE_VAR=~/.var/db).
Scache is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.