delete method

JSPromise<JSBoolean> delete(
  1. RequestInfo request, [
  2. CacheQueryOptions options
])

The delete() method of the Cache interface finds the Cache entry whose key is the request, and if found, deletes the Cache entry and returns a Promise that resolves to true. If no Cache entry is found, it resolves to false.

Implementation

external JSPromise<JSBoolean> delete(
  RequestInfo request, [
  CacheQueryOptions options,
]);