Skip to main content

NoopSessionCacheStrategy

A cache that doesn't cache. The cache lookup will miss every time so the session will always be taken from the database.

Signature
class NoopSessionCacheStrategy implements SessionCacheStrategy {    clear() => ;    delete(sessionToken: string) => ;    get(sessionToken: string) => ;    set(session: CachedSession) => ;}

clear

method() =>

delete

method(sessionToken: string) =>

get

method(sessionToken: string) =>

set

method(session: CachedSession) =>
Was this chapter helpful?
Report Issue
Edited Feb 3, 2026·Edit this page