request deduplication

Making identical requests that happen at the same time share one network call instead of each sending their own.

In more detail

Two cards showing the same user should cause one fetch. A promise cache keyed by user ID gives this for free, because the second reader finds the pending promise.

Related terms

Taught in

References