==
Replaces a number of result page and record detail page API calls with a bespoke API that returns data required to display bib and metabib record summary information in the catalog.
Specifically, a single streaming API this replaces the following:
* fleshed record retrieval
** including record display fields and attributes processing.
* copy count retrieval
* hold count retrieval
The end result is replacing 22 API calls per results page with 2 API calls.
==
In my testing, the speed is equal to or possibly better than the current interface. Another benefit of this approach is each record displayed -- starting at the first result -- is fully formed, which means you don't see the bits of shuffling that occurs as additional data is retrieved asynchronously.
Code pushed:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1889694- staffcat- record- summary- api
From the commit:
==
Replaces a number of result page and record detail page API calls with a bespoke API that returns data required to display bib and metabib record summary information in the catalog.
Specifically, a single streaming API this replaces the following:
* fleshed record retrieval
** including record display fields and attributes processing.
* copy count retrieval
* hold count retrieval
The end result is replacing 22 API calls per results page with 2 API calls.
==
In my testing, the speed is equal to or possibly better than the current interface. Another benefit of this approach is each record displayed -- starting at the first result -- is fully formed, which means you don't see the bits of shuffling that occurs as additional data is retrieved asynchronously.