Top
Best
New

Posted by bundie 15 hours ago

We moved Railway's frontend off Next.js. Builds went from 10+ mins to under 2(blog.railway.com)
147 points | 138 commentspage 2
jspaetzel 13 hours ago|
Incredible that the builds were ever 10min. How far things have regressed.
oefrha 11 hours ago||
Time to move your blog off Next too? It’s slow as molasses for me, loads a billion JS chunks and JSON fragments, when it can be a static site.
lukasholzer 9 hours ago||
This is the kind of post I wish more teams would write. The "we picked the popular thing and it got slow" story is so common. But most teams just live with it. They don't want to touch it. 10 minutes to 2 minutes is huge for dev speed!

I'm a huge fan of tanstack start especially the ability to just static prerender some paths (a feature I'm missing a ton with astro) For me tanstack start is the new dominator on the stack!

eino 11 hours ago||
We made a similar move from Next.js to Vite (with Tanstack router): CI build dropped from 12 min to barely 2 min. We won't look back.
samwreww 12 hours ago||
They don't even mention the Next.js version used - where they using Turbopack or not?
wilson090 12 hours ago|
excellent question - recently switched from turbopack after getting annoyed by build times. we saw them go from 6 mins to 2 mins
butz 1 hour ago||
Now try to do the same thing that MDN did to their website and reduce 2 minute build times to 2 seconds.
fnoef 12 hours ago||
:suprised_pikachu_face:

Is the quality of software engineers really dropped that low that people get excited when they move off from "heavy bloated" frameworks to lighter alternatives? Or is this just SEO farming garbage to position the company higher in search results?

yla92 11 hours ago|
Both can be true at the same time!
pjmlp 10 hours ago||
Zero references to Turbopack, maybe start there?
sakopov 3 hours ago||
Can we just get back to html/jQuery/handlebars? Those were the good old days :`(
mlnj 13 hours ago|
This is one of the most frustrating thing about working with NextJS. There seems to be no way to improve the speed of building the app.
abustamam 12 hours ago|
I've used the other major meta frameworks (remix and tanstack). I don't think there is a way to improve the speed of building the app in those ecosystems. Happy to be proven wrong.
More comments...