interface AnnotatedCache { delete(request): Promise<boolean>; match(request): Promise<undefined | Response>; put(request,
response): Promise<undefined>; } Methods
delete
- delete(request): Promise<boolean>
Returns Promise<boolean>
match
- match(request): Promise<undefined | Response>
Returns Promise<undefined | Response>
put
- put(request, response): Promise<undefined>
Parameters
request: Request
response: Response
Returns Promise<undefined>
See
MDN for spec
AnnotatedCacheStorage.open for usage