Next.js Discord

Discord Forum

staleTimes works well, but doesn't function with `npm run dev`

Unanswered
Erythrina gall wasp posted this in #help-forum
Open in Discord
Erythrina gall waspOP
The experimental staleTimes option for disabling client caching is a highly anticipated feature.

However, it does not work when I start the application using npm run dev.
It functions as expected when I use npm run build && npm run start.

Why does this happen?

0 Replies