Module Ldp.Cache

Caching resources.

exception Not_a_directory of string
val of_dir : string -> (module Http.Cache) Lwt.t

of_dir d creates a Http.Cache from the given directory, creating the directory if it does not exist. If d exists and is not a directory, raises Not_a_directory.