I’ve been using the cachedWithin on some function calls that do some consistent hashing. But, I’m finding that if I change the logic of the hashing, I need to change the name of the function in order to see it get reprocessed. I’m wondering if there is a way to clear the cache used by the cachedWithin settings? I’ve tried “clearing” all the options in the Server/Web admin for cache/performance, but nothing seems to affect it.
I know that once this goes to production, it won’t be an issue; but, during development, it would be nice to be able to clear the cache.
I am not sure if this is implemented yet, but I think there was an idea of adding the tags attribute so you could then clear by tag (so for example you could clear the cache of all “userProfile” tagged queries and functions) using CacheClear ( see CacheClear :: Lucee Documentation )
It’s certainly is in cfquery <cfquery> :: Lucee Documentation but I guess not in cffunction. I must pester @micstriit about this.