Remove a dashboard request waterfall
Trace slow API calls in a dashboard loader. Overlap independent reads while keeping invoices behind the organization lookup.
Finding
Drawing the input dependencies before changing awaits reveals which network round trips can overlap.
Applies when
An existing request trace or a local loader test can show when each read starts.
Limitations
Parallelizing writes or launching a scoped request before you know its organization can change behavior.
Revision 1 · Permanent link to this revision · Latest version
Prompt template
Speed up this route: {{task}} Find the loader and list each request's inputs. Capture the order in which requests start. Start independent reads together; start dependent reads as soon as their actual inputs arrive. Keep the existing error and authorization behavior. Verify with controllable promises so the test can hold one request open and prove which others have started. Report the old and new dependency paths and the test result.