The simple option
If you are new to caching, start here:HEMLE FC, opening the same dashboard again
within 60 seconds can reuse the club, member, and match responses locally.
Cached data can be temporarily out of date. Use
refresh when you need the
latest response immediately.Advanced settings
ttlMs defaults to 60_000 and maxEntries defaults to 500. The cache is a
bounded in-memory LRU cache. Successful responses are cached after their Zod
validation; errors are never cached.
Per-request modes
defaultreads the cache and writes successful responses.bypassskips both reading and writing the cache.refreshskips the cached value, requests EA, and replaces the cached value.
AbortSignal remain independent so one caller cannot cancel
another caller’s request.
Observe activity
The optional hook is local only. It never sends telemetry anywhere.onEvent can report a 403 but cannot make the request fail. Use
httpMode: 'strict' on the client if a 403 must reject the promise; see
Errors and retries. Events in either mode
remain free of URLs, query parameters, identities, and response bodies.