Skip to main content

delete

method Cache.delete
Jump to headingCache.delete(
request: RequestInfo | URL,
): Promise<boolean>

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 Jump to heading

Return Type Jump to heading

Promise<boolean>
Back to top