---
title: "NoopSessionCacheStrategy"
generated: true
---
<GenerationInfo sourceFile="packages/core/src/config/session-cache/noop-session-cache-strategy.ts" sourceLine="10" packageName="@vendure/core" />

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

```ts title="Signature"
class NoopSessionCacheStrategy implements SessionCacheStrategy {
    clear() => ;
    delete(sessionToken: string) => ;
    get(sessionToken: string) => ;
    set(session: CachedSession) => ;
}
```
* Implements: <DocsLink href="/reference/typescript-api/auth/session-cache-strategy#sessioncachestrategy">`SessionCacheStrategy`</DocsLink>



<div className="members-wrapper">

### clear

<MemberInfo kind="method" type={`() => `}   />


### delete

<MemberInfo kind="method" type={`(sessionToken: string) => `}   />


### get

<MemberInfo kind="method" type={`(sessionToken: string) => `}   />


### set

<MemberInfo kind="method" type={`(session: <a href='/reference/typescript-api/auth/session-cache-strategy#cachedsession'>CachedSession</a>) => `}   />




</div>
