Next.js Discord

Discord Forum

How to redirect to a path but not load the cached version?

Unanswered
berkserbet posted this in #help-forum
Open in Discord
I use redirect() in my server component but it doesn't load a new version of that page. How can I get it to?

I tried revalidatePath() but it only seems to work the first time. I basically want to have a button that resets everything when clicked.

0 Replies