Publishing one update to a large Singapore government site took more than 30 minutes and cost about S$10 per build. The site is a statically generated Next.js App Router app with 11,000 pages. We profiled every build step and got builds from 30 to 10 minutes, build output from 145GB to 7GB, and costs down by 92%. Then we went after mobile Lighthouse scores by cutting the shared JS chunk from 250kB to 85kB.
This talk has been presented at React Summit Asia 2027, check out the latest edition of this React Conference.























