I have an issue where all my pages default to caching even if I add a revalidation option in a page or layout. Page renders once with the data, if I go to my dashboard and delete a post, it updates with the refresh router, however nagivating back to home, it's still the old stale data
Same happens with updating, deleting, creating. But the only work around for a mutation I found is to add router.refresh()
Can get new data with router.refresh()
Adding revalidate to both page.jsx and layout.jsx Seperating the prisma query in it's own function so I can wrap it with fetch and add {next: revalidate: 1}