method Cache.delete
Private
Cache.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
.
request: RequestInfo | URL
optional
options: CacheQueryOptions
Promise<boolean>