request waterfall

A chain of requests where each one only starts after the previous one finished, so their waiting times add up.

In more detail

Waterfalls appear when a component awaits one query before starting the next, or when a child only fetches after its parent has rendered. Start independent requests together with Promise.all, or preload them before they are needed.

Related terms

Taught in

References