Docs
/
Node Express
Chapter 18
18 — Performance & Caching
Core Concepts
- Compression — gzip/brotli response bodies
- ETags — conditional requests (304 Not Modified)
- In-memory cache — Map-based caching for hot data
- Redis caching — distributed cache (pattern only)
- Clustering — use all CPU cores with
node:cluster - Load balancing — distribute traffic across instances