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

CacheStorage Domain

Experimental

Methods

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.

CacheStorage.requestCacheNames

Requests cache names.

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

CacheStorage.requestCachedResponse

Fetches cache entry.

Parameters
cacheId
CacheId Id of cache that contains the enty.
requestURL
string URL spec of the request.
Return object
response
CachedResponse Response read from the cache.

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.

Types

CacheId

Unique identifier of the Cache object.

Type: string

DataEntry

Data entry.

Type: object

Properties
requestURL
string Request URL.
requestMethod
string Request method.
requestHeaders
array [ Header ] Request headers
responseTime
number Number of seconds since epoch.
responseStatus
integer HTTP response status code.
responseStatusText
string HTTP response status text.
responseHeaders
array [ Header ] Response headers

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.

Header

Type: object

Properties
name
string
value
string

CachedResponse

Cached response

Type: object

Properties
body
string Entry content, base64-encoded.