This project is obsolete - the functionality to keep the size of cache tables down exists in Drupal core from 8.4.0
A Drupal database cache backend where permanent is really only semi-permanent.
If you're using a database based cache backend and seeing tables like {cache_render} and {cache_dynamic_page_cache} grow over time, then this might be the module for you.
Installation
Download and enable the module.
Configuration
In your settings.php customise the lifetime like so:
$settings['slushi_cache_melt_time'] = 86400;
// Setup the bins where you want permanent entries to melt.
$settings['cache']['bins']['render'] = 'cache.backend.slushi';
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.slushi';
Where the lifetime is the actual maximum permanent age in seconds.
You can find the cache bin names in your core.services.yml.
This module will be redundant on Drupal core > 8.4.0 as #2526150: Database cache bins allow unlimited growth: cache DB tables of gigabytes! is in core.
Project information
Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projectsObsolete
Use of this project is deprecated.- Project categories: Performance
39 sites report using this module
- Created by larowlan on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
