Session cookie cache doesn't prevent queries on each load
https://www.better-auth.com/docs/concepts/session-management#cookie-cache
It appears that maybe it simply means it wont query the session twice but I think it shouldn't query at all unless a request comes back 401. Like sometimes a page loads and immediately redirects to another. right there is 2 session requests at once, completely unnecessary.
Session Management | Better Auth
Better Auth session management.
0 Replies