Liking cljdoc? Tell your friends :D

clj-chrome-devtools.commands.cache-storage


delete-cacheclj

(delete-cache)
(delete-cache {:as params :keys [cache-id]})
(delete-cache connection {:as params :keys [cache-id]})

Deletes a cache.

Parameters map keys:

KeyDescription
:cache-idId of cache for deletion.
Deletes a cache.

Parameters map keys:


  Key       | Description 
  ----------|------------ 
  :cache-id | Id of cache for deletion.
sourceraw docstring

delete-entryclj

(delete-entry)
(delete-entry {:as params :keys [cache-id request]})
(delete-entry connection {:as params :keys [cache-id request]})

Deletes a cache entry.

Parameters map keys:

KeyDescription
:cache-idId of cache where the entry will be deleted.
:requestURL spec of the request.
Deletes a cache entry.

Parameters map keys:


  Key       | Description 
  ----------|------------ 
  :cache-id | Id of cache where the entry will be deleted.
  :request  | URL spec of the request.
sourceraw docstring

request-cache-namesclj

(request-cache-names)
(request-cache-names {:as params :keys [security-origin]})
(request-cache-names connection {:as params :keys [security-origin]})

Requests cache names.

Parameters map keys:

KeyDescription
:security-originSecurity origin.

Return map keys:

KeyDescription
:cachesCaches for the security origin.
Requests cache names.

Parameters map keys:


  Key              | Description 
  -----------------|------------ 
  :security-origin | Security origin.

Return map keys:


  Key     | Description 
  --------|------------ 
  :caches | Caches for the security origin.
sourceraw docstring

request-cached-responseclj

(request-cached-response)
(request-cached-response {:as params :keys [cache-id request-url]})
(request-cached-response connection {:as params :keys [cache-id request-url]})

Fetches cache entry.

Parameters map keys:

KeyDescription
:cache-idId of cache that contains the enty.
:request-urlURL spec of the request.

Return map keys:

KeyDescription
:responseResponse read from the cache.
Fetches cache entry.

Parameters map keys:


  Key          | Description 
  -------------|------------ 
  :cache-id    | Id of cache that contains the enty.
  :request-url | URL spec of the request.

Return map keys:


  Key       | Description 
  ----------|------------ 
  :response | Response read from the cache.
sourceraw docstring

request-entriesclj

(request-entries)
(request-entries {:as params :keys [cache-id skip-count page-size]})
(request-entries connection {:as params :keys [cache-id skip-count page-size]})

Requests data from cache.

Parameters map keys:

KeyDescription
:cache-idID of cache to get entries from.
:skip-countNumber of records to skip.
:page-sizeNumber of records to fetch.

Return map keys:

KeyDescription
:cache-data-entriesArray of object store data entries.
:has-moreIf true, there are more entries to fetch in the given range.
Requests data from cache.

Parameters map keys:


  Key         | Description 
  ------------|------------ 
  :cache-id   | ID of cache to get entries from.
  :skip-count | Number of records to skip.
  :page-size  | Number of records to fetch.

Return map keys:


  Key                 | Description 
  --------------------|------------ 
  :cache-data-entries | Array of object store data entries.
  :has-more           | If true, there are more entries to fetch in the given range.
sourceraw docstring

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

× close