Disable route caching on page navigation

Using the page directory, I have a page (which is the main one) that fetches an API (server side) and displays the fetched data. I also have another page I can navigate to, which simply has static content. When I navigate from the static page to the page with data fetching I discovered that Next's router caches the page and doesn't do the server side fetching anymore. Is there a way to disable this behavior? This seems forced and I'm finding it weird
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server