← Back to Network domain

Network.setCacheDisabled

Toggles ignoring cache for each request. If `true`, cache will not be used.

Domain: Network stable

Parameters

NameTypeDescription
cacheDisabledbooleanCache disabled state.

Example Request

{
  "id": 1,
  "method": "Network.setCacheDisabled",
  "params": {
    "cacheDisabled": true
  }
}

Example Response

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

Usage in Node.js

const result = await send('Network.setCacheDisabled', {"cacheDisabled": true});
console.log(result);