We moved Railway's frontend off Next.js. Builds went from 10+ mins to under two (blog.railway.com)
Railway reports moving its production frontend off Next.js to a client-first stack using Vite and TanStack Router, cutting build times from 10+ minutes to under two. The team migrated 200+ routes in two pull requests with zero downtime and consolidated server configuration via Nitro, while keeping deployment and infrastructure on Railway previews/rollouts. They cite better type-safe routing, first-class layouts, and faster iteration (HMR/instant startup) as key reasons, along with improved edge caching behavior for hashed assets.
April 08, 2026 07:40
Source: Hacker News