Next.js Discord

Discord Forum

how to prevent client route caching?

Unanswered
Nile tilapia posted this in #help-forum
Open in Discord
Avatar
Nile tilapiaOP
ive set cache: "no-store" to my fetch api, but it still displays the same previous data after updating the database.

1 Reply

Avatar
Alfonsus Ardani
Refresh the webpage using router.refresh() after database update