Liking cljdoc? Tell your friends :D

stylefy.impl.cache


cache-expired?cljs

(cache-expired? cache-created expiration-age now)
source

cache-key-stylescljs

(cache-key-styles instance-id)
source

cache-prefixcljs

source

cache-stylescljs

(cache-styles styles)
(cache-styles styles instance-id)

Caches the given style if caching is used. Throws QUOTA_EXCEEDED_ERR if the storage is full.

Caches the given style if caching is used.
Throws QUOTA_EXCEEDED_ERR if the storage is full.
sourceraw docstring

cache-styles?cljs

source

clear-stylescljs

(clear-styles)
(clear-styles instance-id)
source

default-cache-expiration-time-scljs

source

now-in-secondscljs

(now-in-seconds)
source

read-cache-valuecljs

(read-cache-value key)

Reads the cache if caching is used.

Reads the cache if caching is used.
sourceraw docstring

set-cache-created-timecljs

(set-cache-created-time time-created)
(set-cache-created-time time-created instance-id)
source

use-caching!cljs

(use-caching! cache-options)
(use-caching! cache-options instance-id)
source

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

× close