Domains Accessibility Animation ApplicationCache CSS CacheStorage Console DOM DOMDebugger DOMStorage Database Debugger DeviceOrientation Emulation FileSystem HeapProfiler IndexedDB Input Inspector LayerTree Memory Network Page Power Profiler Rendering Runtime ScreenOrientation Security ServiceWorker Timeline Tracing Worker
Chrome Debugger Protocol Viewer

CacheStorage Domain

Methods

requestCacheNames

Requests cache names.

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

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.

deleteCache

Deletes a cache.

Parameters
cacheId
CacheId Id of cache for deletion.

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.