Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.16.3
-
None
-
2
-
Severity 2 - Major
-
1
-
Description
Issue Summary
When there is a large number of likes on a page (1000+), it takes a significant amount of time to load (1 minute), the likes data being fetched seems to be the reason behind this behaviour.
Steps to Reproduce
- Find a page with 1.000+ likes (all users need custom profile pictures stored as attachments).
- Check the loading time of /rest/likes/1.0/content/<CONTENT_ID>/likes?commentLikes=true (This might be fast depending on the cache state)
- Clear the cache Attachment ID in the Cache Management
- Check the loading time of /rest/likes/1.0/content/<CONTENT_ID>/likes?commentLikes=true (This should take 1-2 minute)
- Check again (Should be fast again as the Cache is filled)
- Delete an attachment from any page in the system
- Check the number of cache entires for the Attachment ID cache (Should be 0, as the cache was cleared from trashing an attachment)
- Check the likes loading time again (Should be slow again)
Expected Results
Pages with a large amount of likes shouldn't take a very long time to load
Actual Results
Pages with a large amount of likes take a very long time to load
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Attachments
Issue Links
- mentioned in
-
Page Loading...