Provides facilities for caching downloaded blobs (typically HTML),
potentially enriched with some metadata (typically headers), in
some kind of storage. Implementations of this protocol can be passed
as :html-cache
and :processed-cache
options to
skyscraper.core/scrape
.
Provides facilities for caching downloaded blobs (typically HTML), potentially enriched with some metadata (typically headers), in some kind of storage. Implementations of this protocol can be passed as `:html-cache` and `:processed-cache` options to [[skyscraper.core/scrape]].
(load-blob cache key)
(save-blob cache key blob metadata)
(fs root-dir)
Creates a filesystem-based cache backend with a given root directory.
Creates a filesystem-based cache backend with a given root directory.
(memory)
Creates a memory cache backend.
Creates a memory cache backend.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close