method Cache.put
Jump to headingCache.put(request: RequestInfo | URL,response: Response,): Promise<void>
Put the provided request/response into the cache.
How is the API different from browsers?
- You cannot match cache objects using by relative paths.
- You cannot pass options like
ignoreVary
,ignoreMethod
,ignoreSearch
.
Parameters Jump to heading
Jump to headingrequest: RequestInfo | URL
Jump to headingresponse: Response
Return Type Jump to heading
Promise<void>