The module will automatically clean the configuration cache when the configuration is saved from admin.
-
Composer Installation (if applicable):
composer require --dev apedik/cacheautoclean
-
Manual Installation:
- Download the module's ZIP archive from GitHub or another source.
- Extract the contents into the Magento
app/code
directory.
-
Enable the Module:
php bin/magento module:enable Apedik_CacheAutoClean php bin/magento setup:upgrade
Enable dev/caching/cache_autoclean
Simply save configuration from admin will automatically clean the configuration cache
The plugin afterDispatch
will filter event names admin_system_config_changed_section_*
and clean the cache
Tested on Magento 2.4.6 but should be compatible with all versions
Please submit any issue here https://github.com/apedicdev/cache-auto-clean/issues
- Select different cache types
- Indexing
- Tests
Antonio Pedicini apedik.dev
Please use only for development.