Page MenuHomePhabricator

Serial API calls on mount
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

'resources/ext.readingLists.special/pages/Entries.vue:254-257' awaits getList() (list metadata) before getEntries(), although they do not depend on each other. But the run strictly after one another. So the user waits a full metadata round-trip before the entries request even starts.

Goal

Start the two independent requests together.

Acceptance criteria for done

  • getList() and getEntries() run in parallel (Promise.all).
  • Time-to-first-entry improves in the Network waterfall; error handling unchanged.

Event Timeline

Volker_E triaged this task as Medium priority.Aug 11 2026, 9:02 PM

Change #1324405 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/extensions/ReadingLists@master] performance: Fetch list metadata and entries in parallel on mount

https://gerrit.wikimedia.org/r/1324405

Change #1324405 merged by jenkins-bot:

[mediawiki/extensions/ReadingLists@master] performance: Fetch list metadata and entries in parallel on mount

https://gerrit.wikimedia.org/r/1324405

This looks good to me. The extra API call to get the list info happens when viewing a specific list (e.g. Special:ReadingLists/Admin/71)