Next.js Discord

Discord Forum

Will PPR work outside of Vercel?

Unanswered
Short-tailed Hawk posted this in #help-forum
Open in Discord
Avatar
Short-tailed HawkOP
Im currently self hosting my Nextjs on Coolify, with a EC2 instance, is it possible to make PPR work with this stack in the future?

10 Replies

Avatar
Maybe sometime in the future, but it's still experimental so it'll probably stay in-house for a while
Avatar
Im pretty sure its gonna be insanely hard for you to do it locally
cause ppr essentially is a fusion of cdns and servers
your essentially going through a lot of complications lol
Open to all frameworks
The framework-defined infrastructure primitive that Partial Prerendering leverages when used on Vercel can be natively adopted by any frontend framework through Vercel’s Build Output API. Framework authors can get in touch with us to talk about how to integrate PPR into their framework.
Avatar
You can notice the difference in a local production build if you use dynamic APIs, because you entire route won't be dynamic anymore.
So maybe that feature of it will work self-hosted?
Avatar
yea that should work out of the box
but it wont be as seamless as something on vercel
Avatar
Yeah, the real thing you will miss out on is Partial Fallback Prerendering, that is magic for dynamic segements.