Next.js Discord

Discord Forum

how to prevent client route caching?

Unanswered
Nile tilapia posted this in #help-forum
Open in Discord
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

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