enable cookie cache

This commit is contained in:
Thomas G. Lopes 2025-06-17 23:10:23 +01:00
parent 10808c78d0
commit 5e06c2ca9f

View file

@ -22,4 +22,10 @@ export const auth = betterAuth({
}, },
}, },
plugins: [], plugins: [],
session: {
cookieCache: {
enabled: true,
maxAge: 5 * 60, // Cache duration in seconds
},
},
}); });