← Back to ServiceWorker domain

ServiceWorker.setForceUpdateOnPageLoad

No description available.

Domain: ServiceWorker experimental

Parameters

NameTypeDescription
forceUpdateOnPageLoadboolean

Example Request

{
  "id": 1,
  "method": "ServiceWorker.setForceUpdateOnPageLoad",
  "params": {
    "forceUpdateOnPageLoad": true
  }
}

Example Response

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

Usage in Node.js

const result = await send('ServiceWorker.setForceUpdateOnPageLoad', {"forceUpdateOnPageLoad": true});
console.log(result);