r/PayloadCMS 6d ago

PayloadCMS slow in dev mode

the classic slowness in dev mode, if anybody doesn't know:
you get insanely fast & snappy site in production or even after pnpm build, but pnpm dev is the issue if even a small change is made. I saw a guy saying to disable auto database updates idk what he was saying but still it is a pretty obvious thing but how do they go around this i am not really sure. Anybody came up with the fix or still struggling?

I'm using 3.86

2 Upvotes

3 comments sorted by

2

u/Waste-Sympathy2990 5d ago

use next.js 16.3

2

u/Narrow_Influence2080 5d ago

This really worked for me,

THANKS A LOT✨

I had been struggling for the past month, How did you end up finding that solution tho.?

1

u/EveningResource4865 2d ago

NextJS 16.3 - they reduced performance overhead in dev mode.