Thanks for the nice module.
Currently it flushes all the cache tables, but there are some that I don't need to be cleared periodically by the module. It is possible to add a checkboxes to select some cache tables that shouldn't be truncated?
Issue fork cleaner-3333331
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
valentine94Comment #5
sergeydruua commentedI have implemented the requested feature to allow selecting specific cache tables for clearing.
Settings Form: Replaced the static table list with a checkboxes element.
By default, all tables are selected (preserving backward compatibility).
The selection is only visible when "Clean up cache" is enabled.
Note: I also included the fix for ConfigFormBase constructor (Issue #3561689) in this branch to ensure the form works on Drupal 11.
Event Subscriber: Updated CleanerCacheClearEventSubscriber to respect the selected tables configuration.
Comment #7
valentine94Thanks, merged to DEV branch