zenodo / zenodo-rdm

Zenodo, powered by InvenioRDM
https://zenodo.org
GNU General Public License v2.0
41 stars 25 forks source link

Item pages serve 800KB (of ~850KB) of every admin of every community every time #801

Closed sneakers-the-rat closed 4 months ago

sneakers-the-rat commented 5 months ago

Hello!

When loading an item page (eg. picking the most recent item while i'm raising this: https://zenodo.org/records/10853209 ), roughly 800KB of the 850KB page (or ~95%) that is served is a large json object in #sidebar-communities-manage that appears to be a mapping of the user ID of the owner or curator of every community.

The box that the div is in is blank for me anyway in fresh copies of firefox and chrome, so whatever that is trying to do isn't working :(

Seems like something that could be lazy loaded <3

slint commented 4 months ago

Thanks a lot for reporting, indeed this was an issue with seeding too much data in one of the UI elements. This has been fixed now, and the record landing page should be much smaller for guest user access.