Cache.cacheA single named Cache instance, obtained from cacheStorage.
The methods come in two flavours: the _url variants take the request as a URL string, while the others take a Request.
method match_withOptions : Js_of_ocaml__.Fetch.request Js_of_ocaml__.Js.t ->
queryOptions Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Fetch.response Js_of_ocaml__.Js.t Js_of_ocaml__.Js.optdef
Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methmethod matchAll_withOptions : Js_of_ocaml__.Fetch.request Js_of_ocaml__.Js.t ->
queryOptions Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Fetch.response Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array
Js_of_ocaml__.Js.t
Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methmethod add : Js_of_ocaml__.Fetch.request Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.methcache##add req fetches req and stores the resulting response. The promise rejects if the response does not have an ok status.
method delete : Js_of_ocaml__.Fetch.request Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.methcache##delete req resolves with true if a matching entry was found and removed, false otherwise.
method delete_withOptions : Js_of_ocaml__.Fetch.request Js_of_ocaml__.Js.t ->
queryOptions Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.meth