Next.js Discord

Discord Forum

disable cache for build

Unanswered
Arboreal ant posted this in #help-forum
Open in Discord
Arboreal antOP
I need to build multiple websites with the same nextjs app. I sometimes get weird results where it seems that db queries were cached and produce old versions of the build. Is there a way to disable cache or is it enough to delete the .next folder after each build?

0 Replies