Excessive number of browse definition request on simple item page. #3700
Labels
affects: main
Issue impacts "main" (latest release).
affects: 7.x
Issue impacts 7.x releases
affects: 8.x
Issue impacts 8.x releases
high priority
performance / caching
Related to performance, caching or embedded objects
Describe the bug
Each
ItemPageFieldComponent
performs a separate request to obtain potential browse indexes for the relevant metadata its relevant metadata fields.To Reproduce
Go to a simple item page for an item with enough metadata to spawn multiple
ItemPageFieldComponent
s.In the browser's network log, observe the repeated GET requests to the
http://localhost:8080/server/api/discover/browses/search/byFields?fields=...
endpoint.This slows down the page.
Expected behavior
Since all this information has already been requested for the "All of DSpace" navbar menu, we should be able to retrieve this information from the cache, rather than re-requesting it.
Related work
#3701
The text was updated successfully, but these errors were encountered: