method Cache.delete
Jump to headingCache.delete(request: RequestInfo | URL,options?: CacheQueryOptions,): Promise<boolean>
Delete cache object matching the provided request.
How is the API different from browsers?
- You cannot delete cache objects using by relative paths.
- You cannot pass options like
ignoreVary
,ignoreMethod
,ignoreSearch
.
Parameters Jump to heading
Jump to headingrequest: RequestInfo | URL
optional
Jump to headingoptions: CacheQueryOptions
Return Type Jump to heading
Promise<boolean>