Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Port dspace-7_x] Reduce browse definition requests on simple item page (#3701) #3812

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

tdonohue
Copy link
Member

@tdonohue tdonohue commented Jan 7, 2025

Manual port of #3701 by @KoenP to dspace-7_x

@tdonohue tdonohue added bug high priority performance / caching Related to performance, caching or embedded objects labels Jan 7, 2025
@tdonohue tdonohue added this to the 7.6.3 milestone Jan 7, 2025
* 121561 Reduce the number of browse definition requests on Item pages by reusing the navbar request for all browse indexes

* Fix test issues.

---------

Co-authored-by: Koen Pauwels <[email protected]>
@alanorth
Copy link
Contributor

alanorth commented Jan 8, 2025

Thanks @KoenP and @tdonohue. I tested this on a DSpace 7.6.2 instance. The number of requests made for browses is reduced.

Furthermore, I noticed that the previous behavior requests browses for many fields on the page which didn't have browses defined. This was useless and wasteful. Happy to have the requests for browse definitions consolidated and read from the cache.

@alanorth alanorth merged commit 58e9a60 into DSpace:dspace-7_x Jan 8, 2025
15 checks passed
@tdonohue tdonohue deleted the port_3701_to_7x branch January 8, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug high priority performance / caching Related to performance, caching or embedded objects
Projects
Development

Successfully merging this pull request may close these issues.

3 participants