A big problem of cache system is the integration with third-party modules.
It's hard to module itself manage your cache system, waiting for triggers on the core system. This problem was reported by Larry Garfield on Kiosk module article, where he need to use cron module support to resolve the problem.
So a good solution is create a hook for clean cache, something like hook_cache_clear_all, with this the module the core will trigger a clean cache action and the modules will capture this action and do the necessary work.
I propose a little easy implementation for this in my patch file below.

Comments

Status: Needs review » Needs work

The last submitted patch, drupal.6.19-cache-engine.patch, failed testing.

pablolmiranda’s picture

StatusFileSize
new2.7 KB

I'm sending a new patch, on the right format now.

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.