-
Notifications
You must be signed in to change notification settings - Fork 530
more than 150 GET requests when navigating to Communities & Collections view #918
Copy link
Copy link
Closed
Labels
buge/8Estimate in hoursEstimate in hoursperformance / cachingRelated to performance, caching or embedded objectsRelated to performance, caching or embedded objects
Milestone
Description
Describe the bug
Navigating to Communities & Collections leads to more than 150 HTTP GET requests per page. This results in page load times of more than 5 seconds (10+ seconds on old machines).
The page shows 50 entries. For each entry 3 GET requests are generated:
- https://host.tld/server/api/core/communities/_id_?endpointMap
- https://host.tld/server/api/core/communities/_id_/subcommunities?size=1
- https://host.tld/server/api/core/communities/_id_/collections?size=1
To Reproduce
Steps to reproduce the behavior:
- go to https://dspace7-demo.atmire.com
- click tab All of DSpace
- choose entry Communities & Collections
Expected behavior
Minimize number of HTTP requests and page load time (best case: one request per page; but at most one request per entry).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buge/8Estimate in hoursEstimate in hoursperformance / cachingRelated to performance, caching or embedded objectsRelated to performance, caching or embedded objects