better-auth middleware takes around ~5s to resolve

better-auth do a db call when a post req is sent to "/api/auth/get-session" in the middleware?
1 Reply
MKTSoft
MKTSoft3mo ago
use getSessionCookie() or getCookieCache()

Did you find this page helpful?