Liking cljdoc? Tell your friends :D

skyscraper.cache


CacheBackendcljprotocol

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-blobclj

(load-blob cache key)

save-blobclj

(save-blob cache key blob metadata)
sourceraw docstring

fsclj

(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.
sourceraw docstring

memoryclj

(memory)

Creates a memory cache backend.

Creates a memory cache backend.
sourceraw docstring

nullclj

(null)

Creates a null cache backend.

Creates a null cache backend.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close