OptionalconditionPredicate that decides whether a request should be cached.
Defaults to caching only successful responses (response.ok).
OptionaldefaultDefault TTL in milliseconds for tags without an explicit TTL.
Defaults to 0 (no caching — invalidation-only mode).
OptionalttlPer-tag TTL map: { [tagName]: ttlMs }.
Tags not listed here fall back to defaultTtl.
Configuration for the cacheTags middleware.