Liking cljdoc? Tell your friends :D

andrewslai.clj.http-api.cache-control


cache-10dclj

source

cache-30dclj

source

cache-controlclj

(cache-control response url)

Add Cache Control Headers for successful responses

Add Cache Control Headers for successful responses
sourceraw docstring

cache-control-headerclj

(cache-control-header url)

Find the correct cache control headers for a given URL. Useful because we are serving static content from S3 - so some content should have long caching (images) while others should not (actual site).

Find the correct cache control headers for a given URL.
Useful because we are serving static content from S3 - so some content should have
long caching (images) while others should not (actual site).
sourceraw docstring

find-first-matchclj

(find-first-match potential-matches s default-val)

Searches through a collection of potential matches to find the first matching regex and return the associated value.

Searches through a collection of potential matches to find the first matching
regex and return the associated value.
sourceraw docstring

no-cacheclj

source

revalidate-0sclj

source

revalidate-1dclj

source

url-caching-policyclj

source

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

× close