Make "clear all cache" integration configurable in the extension configuration
Add an option to switch off the flush behaviour on the command "clear all cache". Sometimes it is useful to keep enet_caches while other ones are dropped.
Updated by Nicole Cordes almost 9 years ago
I made a diff of my changes. As the handling became quite tricky with TYPO3 4.6 I have to use an own backend which checks the extension configuration.
This patch is tested from TYPO4 4.5 to the current master (TYPO3 6.0)
Updated by Christian Kuhn over 8 years ago
I know Xavier has a similar need: He wants to have exceptions for caches, so those are not flushed on "flush all cache". I think he added a hook to core's CacheManager flushCaches() for that, which I think is a more generic solution than a special db backend in enetcache for that. afaik, xaviers solution was not merged yet.
I'll do the following: For now, I'll not include your patch in the next enetcache release, but will instead see, if we add a core solution to TYPO3 6.1 and will think about a solution for enetcache again (probably we can not backport this within enetcache, because the CacheManager is not xclass'able as it is required manually early during bootstrap) ...
Anyway, my current strategy is to find a core solution first, an then see on how enetcache could do that for older typo3 releases. Fine with you?