Palestra
Curriculum/Preview Environments & Deployment/3.4 Dependency Management in Ephemeral Environments

3.4 Dependency Management in Ephemeral Environments

Learn why npm install is slow and evaluate the three caching strategies — global tarball cache, pre-built node_modules snapshots, and layered incremental caching — that can reduce a 20-second install to under 1 second for common stacks without losing correctness guarantees.

Lesson Locked

Complete the previous lesson to unlock this one.

Your balance: 1,000