T
TanStack4y ago
constant-blue

actual ssr next behaviour

Hey! Newbie nextjs cache question. Does the server cache actually store the data when you navigate between routes? Eg. If i fetch ’allPosts’ on page A via getServerSideProps with the hydration/dehydration client. I then navigate to page B and want to load this data on the server side for page B, does it use the cache from page A if i try to hydrate via getServerSideProps again, or is it gonna make a other request to fetch this data again? Struggle to understand the exact logic for this 😅
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?