Closed thet closed 8 years ago
if we want memcached with plone.memoize: https://github.com/plone/Products.PloneOrg/blob/master/src/Products/PloneOrg/caching.py
ad cache ugm().users and ugm().groups: ok, but also only a workaround, we need to solve it, so that not all keys are loaded.
ad remove bda.cache: using plone.memoize sounds good at first. but if it comes to many users you dont want to mix ldap with template cache and all the other memoize cache in one memcached. so make sure its possible to have an own memcached configured for ldap.
+1 for keeping the ability for a dedicated cache.
@thet ad settings - i need to take a look
i see, makes sense. i'd love to see bda.cache
having some default cache decorators, which use themselves a default caching backend adapter, adapting self
from the decorated method. that would be as easy to use as plone.memoize
but give all the flexibility you need.
but for the current deployment, i'll just use the thet-all
branch which includes this fixe and live with these tape-fixed solutions until another project allows refactoring.
whats the state here?
@jensens on hold. this branch works for a client project.
obsolete. performance improvements are already in master.
caching rework:
cache.rst
line intests.py
, it fails with that file not found but the other error doesn't occur. strange... @rnix any idea?