key or document based dependencies
I need to invalidate related items - preferably by their cache key.
I could possibly refactor my code to rely on a certain document property but that would be a very invasive operation.
Is there anything like key based dependencies available out of the box?
The query functionality doesn't seem to provide what I'm looking for or maybe I was looking at the wrong examples :)
Edit: I thought about asking about an itemRemoved() type of event. I could then use cache key conventions to remove dependent keys. But I realized there's probably no such thing because there's no "removal" - at least not for couchbase-mode buckets. Do memcache buckets have such an event? It's still the same client (CouchbaseClient) after all right?
kind regards, liga