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

Command icon 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

Xoruna created an issue. See original summary.

valentine94’s picture

Version: 7.x-1.3 » 3.0.x-dev

sergeydruua made their first commit to this issue’s fork.

sergeydruua’s picture

Title: Custom cache tables to clear » Implemented selective cache clearing
Status: Active » Needs review

I 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.

  • sergeydruua committed c1823e91 on 3.0.x
    Issue #3333331: Added checkboxes to select specific cache tables for...
valentine94’s picture

Status: Needs review » Fixed

Thanks, merged to DEV branch

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.