refetch() from useSession() return cached data

Why does calling refetch() from
useSession()
return cached data? This only happens in production. The updated data is returned after approximately 50 seconds. In development, it always returns fresh data immediately after calling refetch()
Was this page helpful?