Skip to main content
method Cache.delete
private
Cache.delete(
request: RequestInfo | URL,
): Promise<boolean>
Deprecated

Delete cache object matching the provided request.

How is the API different from browsers?

  1. You cannot delete cache objects using by relative paths.
  2. You cannot pass options like ignoreVary, ignoreMethod, ignoreSearch.

Parameters

request: RequestInfo | URL
optional
options: CacheQueryOptions

Return Type

Promise<boolean>
Back to top