OptionalconditionPredicate that determines whether a response should be cached.
Defaults to caching only successful responses (response.ok).
OptionalinvalidateReturns a cache key to invalidate when a mutating request is made.
Return null to skip invalidation.
By default, mutating requests do not invalidate the cache.
OptionalkeyComputes the cache key for a request.
Defaults to method + '@' + url.
OptionalskipPredicate that decides whether a request should be skipped (i.e. not cached).
Defaults to skipping non-GET requests.
OptionalthrottleCache TTL in milliseconds.
Defaults to 1000 (1 second).
Options for the throttlingCache middleware.