The ladder
Each rung is cheaper than the one below it. Work down the list before reaching for a faster machine.
- 1 Do not compute it
critical-path-deferred-tail - 2 Compute it once
hierarchical-cache - 3 Compute it before it is requested
intent-preloading - 4 Compute it close to the data or the user
compute-locality - 5 Compute independent work concurrently
no-waterfall-loading - 6 Cache the result
stale-while-revalidate - 7 Respond optimistically where safe
optimistic-mutation - 8 Defer non-critical work
critical-path-deferred-tail