[Zope3-dev] question about undo and caching

Shaar Gabriel gabi at shaargiora.co.il
Fri Mar 2 12:45:29 EST 2007


hi.

i have a calculation that is cached for an object, based on the presence of 
some other objects (Specifically i have parts, orders, supplies etc. and i 
cache the status of the order. if it was fully supplied or still has to be 
supplied)

if one of those objects is removed, the cache is invalidated. if the cached 
value is now recalculated at some point, and an undo i issued for the deleted 
object, the cache is still valid. 

is there some way to check what object was restored/modified in the undo and 
invalidate the cache ?


More information about the Zope3-dev mailing list