Hi, I'm using beaker for caching.
My cache key is a composite key (some_id, some_other_id). The cached value is a computed result from 'some_id' and 'some_other_id' objects. If I edit one or the other object, say 'some_other_id', I need to find all keys that were computed from this 'some_other_id' key and clear the cached value to force re-computation. I would like to know if it's possible iterate over the cached keys. I've tried using the standard dict interface, but it doesn't seem to be implemented. I guess I'm mostly answering myself when I say that a caching object is an API to an underlying non-memory storage engine (on disk or so), thus having .keys() method implemented would not be efficient. Is this correct? Is there some way to know which keys are present? Regards, -- Alexandre CONRAD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
