Next.js Discord

Discord Forum

NextJs Suspense fallback not triggered deployed to Digital Ocean but works in vercel

Unanswered
Siamese Crocodile posted this in #help-forum
Open in Discord
Siamese CrocodileOP
https://matchhome.vercel.app/listings (working suspense fallback - Vercel)
https://dev.matchhome.ph/listings (not working suspense fallback - Digital Ocean)

4 Replies

@Siamese Crocodile https://matchhome.vercel.app/listings (working suspense fallback - Vercel) https://dev.matchhome.ph/listings (not working suspense fallback - Digital Ocean)
suspense on load is a buggy thing in nextjs, that they intend to fix via partial prerendering (PPR)
even on vercel, it doesn't always work, and idk what are the current exact conditions required for it to work
Suspense boundaries currently only work reliably when you navigate with <Link> or next/navigation
you can try enabling experimental ppr to see if it works