From: <And...@Be...> - 2004-12-24 10:31:43
|
Hello all, there is one detail of the caching of group objects in the user session, = that might have negative effects. What I noticed is, that the whole = group object is cached and not only the ID of the group, which is needed = for the security check. Therefore, if you have a group with a few = hundred Users in it, you add quite some size to the session.=20 I my case, this is currently 85k only for the group cache ! Still I am = convinced, that caching the data needed for the sys_security check makes = sense. If I remember right, the code uses s th like $theuser->groups to = get all group objects, which then loads all groups including their = members, although the members will never be needed here for the security = check.=20 Does anyone have a good idea, who to change this ? How about lazy = loading the members ? How about changing the group check in the security = implementation ? Mit freundlichen Gr=FC=DFen Andreas Nolte=20 Leitung IT ------------------------------------------------- arvato direct services Olympiastra=DFe 1 26419 Schortens Germany http://www.arvato.com/ and...@be... Telefon +49 (0) 44 21 - 76-84002 Telefax +49 (0) 44 21 - 76-84111 |