stable (1.2) latest (tip-of-tree) v8-inspector (node) Home Domains Accessibility Animation ApplicationCache CSS CacheStorage Console DOM DOMDebugger DOMStorage Database Debugger DeviceOrientation Emulation HeapProfiler IO IndexedDB Input Inspector LayerTree Log Memory Network Page Profiler Runtime Schema Security ServiceWorker Storage SystemInfo Target Tethering Tracing
Chrome Debugging Protocol Viewer - latest (tip-of-tree)

CacheStorage Domain

Experimental

Methods

CacheStorage. requestCacheNames

Requests cache names.

Parameters
securityOrigin
string Security origin.
Return object
caches
array [ Cache ] Caches for the security origin.

CacheStorage. requestEntries

Requests data from cache.

Parameters
cacheId
CacheId ID of cache to get entries from.
skipCount
integer Number of records to skip.
pageSize
integer Number of records to fetch.
Return object
cacheDataEntries
array [ DataEntry ] Array of object store data entries.
hasMore
boolean If true, there are more entries to fetch in the given range.

CacheStorage. deleteCache

Deletes a cache.

Parameters
cacheId
CacheId Id of cache for deletion.

CacheStorage. deleteEntry

Deletes a cache entry.

Parameters
cacheId
CacheId Id of cache where the entry will be deleted.
request
string URL spec of the request.

Types

CacheId

Unique identifier of the Cache object.

Type: string

DataEntry

Data entry.

Type: object

Properties
request
string Request url spec.
response
string Response stataus text.

Cache

Cache identifier.

Type: object

Properties
cacheId
CacheId An opaque unique id of the cache.
securityOrigin
string Security origin of the cache.
cacheName
string The name of the cache.