Group Content Menu blocks can cause performance degradation on sites with multiple groups.
The GroupOwnsMenuContentAccessChecker::access() method performs uncached loadByEntity() database queries on every menu access check, which can result in long page load times for first-time visitors.
Add a caching layer (GroupContentMenuAccessCache service) for group relationship lookups in GroupOwnsMenuContentAccessChecker.
Cache loadByEntity() results with proper cache tags (group:{id}, group_menu:{id}, user.permissions) for automatic invalidation when content changes.
- Review of proposed patch
- Performance testing on various site configurations
None
None
None
Active
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.