How to invalidate router cache without using server actions, from a different page #62753
Unanswered
Sothatsit
asked this question in
App Router
Replies: 1 comment
-
I have come upon a potential solution. I made a dumb server action that just calls revalidatePath:
However, this causes other issues:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have the following scenario:
I can't find any way to achieve this.
router.refresh()
only refreshes the current page, and I have no way to remove the dashboard page from the router cache. How is this supposed to be achieved in the app router? I don't want to be forced to move my database requests into react-query GET requests just to avoid this caching behaviour.Beta Was this translation helpful? Give feedback.
All reactions