match method
The match()
method of the Cache interface returns a Promise
that
resolves to the Response associated with the first matching request in
the Cache object.
If no match is found, the Promise
resolves to undefined
.
Implementation
external JSPromise<Response?> match(
RequestInfo request, [
CacheQueryOptions options,
]);