ad 1) depends on your staleTime:
https://tanstack.com/query/v4/docs/guides/ssr#staleness-is-measured-from-when-the-query-was-fetched-on-the-server
#getServerSideProps & prefetching query data
2 messages · Page 1 of 1 (latest)
2 messages · Page 1 of 1 (latest)
ad 1) depends on your staleTime:
https://tanstack.com/query/v4/docs/guides/ssr#staleness-is-measured-from-when-the-query-was-fetched-on-the-server
impossible to say without knowing a lot more things. show a reproduction?