Potentially Abandoned v2.0.2

Magento2 Autoflushcache

yireo/magento2-autoflushcache

Automatically flushes Magento 2 caches (config, block_html, full_page) after saving system configuration. Useful for development environments to avoid manual cache flushing.

13,003
Downloads
Below average
28
GitHub Stars
Below average
2y ago
Last Release
1
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
5 warnings
PHPStan Level 9

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v2.0.2 on Magento 2.4.8-p3
Dec 27, 2025
GitHub Repository
Source code & docs
Packagist
Version history
Issues & Support
Get help or report bugs

Share This Module's Status

Magento2 Autoflushcache Magento compatibility status badge

README

Loaded from GitHub

Yireo AutoFlushCache

Magento 2 module to automatically flush the cache whenever you save something in the System Configuration.

Do NOT use this in production.

Overview

When saving the System Configuration within Magento 2, the core behaviour is to add a reminder in the backend that you should manually flush the cache. In production, this is a good practice: Instead of flushing the cache with every change, the cache is only flushed when needed. In development, I always keep caching on, and then this becomes annoying. This module automatically flushes the cache for you.

Installation

Install this module within Magento 2 using composer:

composer require yireo/magento2-autoflushcache --dev
bin/magento module:enable Yireo_AutoFlushCache

Technical architecture

This module listens to the event controller_action_postdispatch_adminhtml_system_config_save. Whenever it is called, it flushes the following caches:

  • config
  • block_html
  • full_page

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.

Back to All Modules