Cookie cache does not refresh

When using the cookie cache, the session_data cookie is not refreshed if I read the session data on the server. It refreshes if I client side do const session = authClient.useSession(), but not if I read it on the server with const session = await authClient.api.getSession({ headers })

Is it not supposed to?
Was this page helpful?