Skip to content


DCOM-70: [CacheProvider] missing functions #670

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user jforet:

Why delete functions in CacheProvider like deleteByPrefix deleteByPostfix deleteByRegex ?
DeleteAll and FlushAll do not replace them. Please revert for these functions.


Comment created by @guilhermeblanco:

The deleteBy*() aswell as getIds() methods cannot be brought back.
Some drivers do not support the getIds(), because (and I agree with) they consider the keys retrieval as a security issue.

Since we keep the Least Common Multiple (LCM) in our Cache platform, these drivers started to be affected in latest *NIX releases (like for example, Memcache 1.6.5+ that does not bring cachedump anymore).

We started to have many reports here because cache was not working, or they were not clearing or even they were getting partially cleared. So we re-worked on Cache package to bring the LCM again.

Based on that, individual drivers like APC may still support the cache Id retrieval, but our approach differed and we can't bring this back. You may override into your own driver (composition) extending our ApcCache and implemented your desired functions.

Marking the ticket as won't fix.



Issue was closed with resolution "Won't Fix"


Comment created by peterjmit:

The documentation still refers to these deprecated elements which is a little confusing as there is no indication of this in the Abstract Classes/Interfaces

@doctrinebot doctrinebot added the Bug label
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.