docs: fix typo (#4655)

This commit is contained in:
Frank
2025-09-15 17:32:20 +02:00
committed by GitHub
parent 5b06218d7f
commit b1a40476f8

View File

@@ -11,7 +11,7 @@ Caching is a powerful technique that can significantly improve the performance o
### Cookie Cache
Calling your database every time `useSession` or `getSession` invoked isnt ideal, especially if sessions dont change frequently. Cookie caching handles this by storing session data in a short-lived, signed cookie similar to how JWT access tokens are used with refresh tokens.
Calling your database every time `useSession` or `getSession` is invoked isnt ideal, especially if sessions dont change frequently. Cookie caching handles this by storing session data in a short-lived, signed cookie similar to how JWT access tokens are used with refresh tokens.
To turn on cookie caching, just set `session.cookieCache` in your auth config: