Fetch.CacheSourceFetch caches.
The type for query options.
val query_opts :
?ignore_search:bool ->
?ignore_method:bool ->
?ignore_vary:bool ->
?cache_name:Jstr.t ->
unit ->
query_optsquery_opts ~ignore_search ~ignore_method ~ignore_vary ~cache_name () are query options with given parameters.
match' c req is a stored response for req in c (if any).
match_all c req is a list stored response for req in c.
add c req fetches req and adds the response to c.
add_all c reqs fetches reqs and adds their reponses to c.
put c req resp puts the req/resp pair to the cache.
delete c req deletes response to req from the cache. false is returned if req was not in the cache.
keys c are the requests cached by c.