This project is not covered by Drupal’s security advisory policy.
This is a tiny Composer plugin that...automatically clears Drupal's caches any time dependencies are updated. The hope is that this will help prevent sites from breaking suddenly due to installed extensions making changes that require a cache rebuild.
Of course, you can get around these kinds of problems by simply visiting update.php...but you have to know to do that, which you might not. If you're facing a WSOD due to stale cache data, you might be at, effectively, a dead end. And if you don't know how to use the command line, there's even less you can do.
So, although it's an inelegant sledgehammer approach, this plugin is intended to prevent that situation. Since clearing all caches can have a negative effect on performance, it's recommended that you add this plugin as a development dependency.
Automatic Cache Clear requires zero configuration. Here's how to install it:
composer config allow-plugins.drupal/auto_cache_clear true
composer require --dev drupal/auto_cache_clearProject information
- By phenaproxima on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
