← Back to CacheStorage domain

CacheStorage.deleteCache

Deletes a cache.

Domain: CacheStorage experimental

Parameters

NameTypeDescription
cacheIdCacheIdId of cache for deletion.

Example Request

{
  "id": 1,
  "method": "CacheStorage.deleteCache",
  "params": {
    "cacheId": "cacheId-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('CacheStorage.deleteCache', {"cacheId": "cacheId-value"});
console.log(result);