Speed up! Incremental Compilation with Nx
summary
Claims that Nx implements incremental compilation using its dependency graph, computation caching, and a distributed cache in Nx Cloud, with affected commands, --parallel and CI distribution (example: eight nodes) to cut CI time. Adds a --buildable library workflow and a --with-deps flag so libraries are prebuilt and restored from cache. Measured example: cold monorepo build ~68s, warm incremental builds ~6–7s. Provides an example repo and configs on Nrwl’s GitHub.
AI-written summary · about
chapters (14)
- 0:00Intro
- 1:58Why Nx
- 5:45Dependency Graph
- 8:16Parallelization
- 9:58Computation Cache
- 12:06Nx Cloud
- 13:49Cache
- 14:36NxServe
- 15:20NxBuild
- 15:58Incremental builds
- 16:19Buildable libraries
- 18:17Build performance
- 20:03Where to find the repository
- 20:20Conclusion
related talks
20mCollaborative Code with Nx
20mWhat and Why nx 20 reasons in 20 minutes
40mNx - Enter Enterprise Development for Angular
43mNxify your Angular app
27mNx at Celonis
36mHow to scale up your angular projects like a pro
35mNx for Angular CLI Users
28mConsolidate, Enhance, Scale: End-to-End Angular Monorepo Management with Nx
