I have a Coldbox event lookupUser that takes a username argument and returns a user memento. It lives a module called public that is a child module of our API module in a handler called authenticate.
According to this page:
I should be able to do this:
And it should clear any event whose name matches "User". It doesn't, unless I specify the entire event path:
If I remove public or authenticate, it won't clear that event from the cache.
If I try to leverage the EVENT_CACHE_SUFFIX value on the authenticate handler, e.g.
And then do this:
It will also not clear the event cache for that event.