← Back to CacheStorage domain

CacheStorage.deleteEntry

Deletes a cache entry.

Domain: CacheStorage experimental

Parameters

NameTypeDescription
cacheIdCacheIdId of cache where the entry will be deleted.
requeststringURL spec of the request.

Example Request

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

Example Response

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

Usage in Node.js

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