You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cache groups (and users?) as exisiting when fetched from server #9271
When groups are retrieved from LDAP it is most likely that the existance check will be requested from the ownCloud group manager. If not cached, the existance check will finally call the LDAP server to verify this. Since we retrieved the groups just before, we should cache them as existing and save those unnecessary requests to LDAP.
This makes probably sense for users as well.
The caching could be triggered from within Access::ldap2ownCloudNames (where we already cache user display names for the same reason).
This will have a positive performance impact, which OTOH is not overly high. Nevertheless it is always better to use as few LDAP requests as possible :)
Activity
Finkregh commentedon Sep 1, 2014
has this been implemented in 7.0.1?
blizzz commentedon Sep 2, 2014
No.
PVince81 commentedon Mar 7, 2016
I suppose that if we had a local table with all users from all user managers, that would be even better ?
See #21282
PVince81 commentedon Oct 10, 2016
I see a key
$cachedGroupMembers, so maybe it's already implemented ? @owncloud/ldaphodyroff commentedon Dec 11, 2017
Closing as its implemented for users and we are about to implement it for groups.
lock commentedon Aug 2, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.