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