[dev] Permissions cache

Duck duck at obala.net
Tue Jul 10 17:18:12 UTC 2007


On Tuesday 10 of July 2007 18:50:57 Chuck Hagenbuch wrote:
> Quoting Jan Schneider <jan at horde.org>:
> > I don't think we should implement this as a custom driver, the cache
> > should be available independant from the drivers. Use the Share and
> > Group caching as a guideline.
>
> I agree, with the caveat that I think this should be cached in
> Horde_Cache, not in the session. If we cache this data in the session
> then it can't be invalidated properly and it will balloon session
> size, hurting performance.
>
> -chuck

This patch adds caching to the mostly used getPermission and exists() methods.

Duck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datatree.diff
Type: text/x-diff
Size: 2744 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20070710/46b7b760/attachment.bin 


More information about the dev mailing list