PHPackages                             magepow/autoflushcache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. magepow/autoflushcache

ActiveMagento2-module[Caching](/categories/caching)

magepow/autoflushcache
======================

Auto flush cache after when saving change or config in admin Magento 2.

1.0.0(5y ago)34964OSL-3.0PHP

Since May 17Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/magepow/magento-2-auto-flush-cache)[ Packagist](https://packagist.org/packages/magepow/autoflushcache)[ RSS](/packages/magepow-autoflushcache/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![](https://github.com/magepow/themeforest/raw/master/shopify/shopify_affiliate.jpg)](https://shopify.pxf.io/VyL446)

Magento 2 Auto Flush Cache
==========================

[](#magento-2-auto-flush-cache)

Magento 2 Auto Flush Cache (Magepow Auto Flush Cache extension Free)
--------------------------------------------------------------------

[](#magento-2-auto-flush-cache-magepow-auto-flush-cache-extension-free)

**Auto flush cache** for Magento 2 the flush cache is a very special function of Magento 2. The cache is a particular area of your hosting server. It helps to increase the page load speed by storing the web pages through browsers. Also, it reduces resource requirements in the situation of heavy traffic. Every time we edit any information or configuration content after saving we have to clear the cache in admin or run it by command via terminal.

[![Latest Stable Version](https://camo.githubusercontent.com/455fddb83fa22c4b703b1d0f320b70cb33a5962fa49103f43b5979399a6ef9e8/68747470733a2f2f706f7365722e707567782e6f72672f6d616765706f772f6175746f666c75736863616368652f762f737461626c65)](https://packagist.org/packages/magepow/autoflushcache)[![Total Downloads](https://camo.githubusercontent.com/2cbf8ec3ffcfa4a42575d1580114affacecd2bfcda2e93e1cc9aa2d8a0ed740c/68747470733a2f2f706f7365722e707567782e6f72672f6d616765706f772f6175746f666c75736863616368652f646f776e6c6f616473)](https://packagist.org/packages/magepow/autoflushcache)[![Daily Downloads](https://camo.githubusercontent.com/8701a3fa258956435b823b90e3c123babc7b0fcde26950f40e509923a2c25f29/68747470733a2f2f706f7365722e707567782e6f72672f6d616765706f772f6175746f666c75736863616368652f642f6461696c79)](https://packagist.org/packages/magepow/autoflushcache)

**See more information**:

- [Detail](https://magepow.com/magento-2-auto-flush-cache-extension.html)
- [Documentation](https://docs.alothemes.com/m2/extension/autoflushcache/)

✨ Key Features
--------------

[](#-key-features)

- ✅ **Automatic Cache Management** - No more manual cache clearing after admin changes
- ✅ **Intelligent Tag-Based Cache Invalidation** - Only clears cache entries related to changed content (NEW)
- ✅ **Event-Specific Controls** - Enable/disable cache flushing for each event type individually (NEW)
- ✅ **Production-Safe Defaults** - Optimized configuration that won't impact site performance (NEW)
- ✅ **Granular Configuration** - Control exactly which cache types to flush
- ✅ **Performance Optimized** - Removed aggressive cache clearing that caused performance issues (NEW)

### Performance Improvements

[](#performance-improvements)

ScenarioBeforeAfter (Tag-Based)Single Product SaveFull cache flushOnly product cache tags clearedBulk Product Import (1000 items)1000 full cache flushesNo cache flushing (disabled by default)CMS Page SaveFull cache flushOnly page cache tags clearedHow to use auto flush cache extension
-------------------------------------

[](#how-to-use-auto-flush-cache-extension)

Before you continue, ensure you meet the following requirements:

- You have installed magento2

### Step 1 : Download Magento 2 AutoFlushCache Extension

[](#step-1--download-magento-2-autoflushcache-extension)

#### Install via composer (recommend)

[](#install-via-composer-recommend)

Run the following commands in Magento 2 root folder:

```
composer require magepow/autoflushcache
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

```

### Step 2: User guide

[](#step-2-user-guide)

#### Key features of Magento 2 Auto flush cache Extension:

[](#key-features-of-magento-2-auto-flush-cache-extension)

- when install done is an auto flush cache already working.
- You can login as administrator to configure everything without clearing cache.

### 2.1. Configuration Options (NEW)

[](#21-configuration-options-new)

Navigate to: `Stores > Configuration > Magepow > Auto Flush Cache`

**General Settings:**

- **Enabled**: Master on/off switch for the extension
- **Use Intelligent Tag-Based Invalidation**: (Recommended) Enable tag-based cache invalidation for better performance
- **Cache Types to Flush**: Select which cache types to flush (only used when tag-based invalidation is disabled)

**Event-Specific Settings** (Control which admin actions trigger cache flushing):

- **Flush on Configuration Save**: ✅ Enabled by default
- **Flush on Design Configuration Change**: ✅ Enabled by default
- **Flush on CMS Page Save**: ✅ Enabled by default
- **Flush on CMS Block Save**: ✅ Enabled by default
- **Flush on Product Save**: ❌ Disabled by default (can impact performance with bulk operations)
- **Flush on Category Save**: ❌ Disabled by default (can impact performance with bulk operations)

### 2.2. When not installed after configure in System &gt; tools &gt; cache management will like below.

[](#22-when-not-installed-after-configure-in-system--tools--cache-management-will-like-below)

[![Image of Magento admin config](https://github.com/magepow/magento-2-auto-flush-cache/raw/master/media/autoflushcache.png)](https://github.com/magepow/magento-2-auto-flush-cache/blob/master/media/autoflushcache.png)

### 2.3. Result after install auto flush cache Extension:

[](#23-result-after-install-auto-flush-cache-extension)

[![Image of magento store front](https://github.com/magepow/magento-2-auto-flush-cache/raw/master/media/ezgif.com-gif-maker.gif)](https://github.com/magepow/magento-2-auto-flush-cache/blob/master/media/ezgif.com-gif-maker.gif)

### 2.4. Recommended Production Configuration

[](#24-recommended-production-configuration)

For best performance on production sites:

```
✓ Enabled: Yes
✓ Use Intelligent Tag-Based Invalidation: Yes (Recommended)
✓ Flush on Configuration Save: Yes
✓ Flush on Design Change: Yes
✓ Flush on CMS Page Save: Yes
✓ Flush on CMS Block Save: Yes
✗ Flush on Product Save: No (keep disabled to prevent performance issues)
✗ Flush on Category Save: No (keep disabled to prevent performance issues)

```

Donation
--------

[](#donation)

If this project help you reduce time to develop, you can give me a cup of coffee :)

[![paypal](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/paypalme/alopay)

**[Our Magento 2 Extensions](https://magepow.com/magento-2-extensions.html)**

- [Magento 2 Recent Sales Notification](https://magepow.com/magento-2-recent-order-notification.html)
- [Magento 2 Categories Extension](https://magepow.com/magento-categories-extension.html)
- [Magento 2 Sticky Cart](https://magepow.com/magento-sticky-cart.html)
- [Magento 2 Ajax Contact](https://magepow.com/magento-ajax-contact-form.html)
- [Magento 2 Lazy Load](https://magepow.com/magento-lazy-load.html)
- [Magento 2 Mutil Translate](https://magepow.com/magento-multi-translate.html)
- [Magento 2 Instagram Integration](https://magepow.com/magento-2-instagram.html)
- [Magento 2 Lookbook Pin Products](https://magepow.com/lookbook-pin-products.html)
- [Magento 2 Product Slider](https://magepow.com/magento-product-slider.html)
- [Magento 2 Product Banner](https://magepow.com/magento-2-banner-slider.html)

**[Our Magento 2 services](https://magepow.com/magento-services.html)**

- [PSD to Magento 2 Theme Conversion](https://alothemes.com/psd-to-magento-theme-conversion.html)
- [Magento 2 Speed Optimization Service](https://magepow.com/magento-speed-optimization-service.html)
- [Magento 2 Security Patch Installation](https://magepow.com/magento-security-patch-installation.html)
- [Magento 2 Website Maintenance Service](https://magepow.com/website-maintenance-service.html)
- [Magento 2 Professional Installation Service](https://magepow.com/professional-installation-service.html)
- [Magento 2 Upgrade Service](https://magepow.com/magento-upgrade-service.html)
- [Magento 2 Customization Service](https://magepow.com/customization-service.html)
- [Hire Magento 2 Developer](https://magepow.com/hire-magento-developer.html)

**[Our Magento 2 Themes](https://alothemes.com/)**

- [Expert Multipurpose Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/expert-premium-responsive-magento-2-and-1-support-rtl-magento-2-/21667789)
- [Gecko Premium Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/gecko-responsive-magento-2-theme-rtl-supported/24677410)
- [Milano Fashion Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/milano-fashion-responsive-magento-1-2-theme/12141971)
- [Electro 2 Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/electro2-premium-responsive-magento-2-rtl-supported/26875864)
- [Electro Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/electro-responsive-magento-1-2-theme/17042067)
- [Pizzaro Food responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/pizzaro-food-responsive-magento-1-2-theme/19438157)
- [Biolife organic responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/biolife-organic-food-magento-2-theme-rtl-supported/25712510)
- [Market responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/market-responsive-magento-2-theme/22997928)
- [Kuteshop responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/kuteshop-multipurpose-responsive-magento-1-2-theme/12985435)
- [Bencher - Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/bencher-responsive-magento-1-2-theme/15787772)
- [Supermarket Responsive Magento 2 Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/supermarket-responsive-magento-1-2-theme/18447995)

**[Our Shopify Themes](https://themeforest.net/user/alotheme)**

- [Dukamarket - Multipurpose Shopify Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/dukamarket-multipurpose-shopify-theme/36158349)
- [Ohey - Multipurpose Shopify Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/ohey-multipurpose-shopify-theme/34624195)
- [Flexon - Multipurpose Shopify Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/flexon-multipurpose-shopify-theme/33461048)

**[Our Shopify App](https://apps.shopify.com/partners/maggicart)**

- [Magepow Infinite Scroll](https://apps.shopify.com/magepow-infinite-scroll)
- [Magepow Promotionbar](https://apps.shopify.com/magepow-promotionbar)
- [Magepow Size Chart](https://apps.shopify.com/magepow-size-chart)

**[Our WordPress Theme](https://themeforest.net/user/alotheme/portfolio)**

- [SadesMarket - Multipurpose WordPress Theme](https://1.envato.market/c/1314680/275988/4415?u=https://themeforest.net/item/sadesmarket-multipurpose-wordpress-theme/35369933)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance47

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1863d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/49830061?v=4)[https://magepow.com](/maintainers/magepow)[@magepow](https://github.com/magepow)

---

Top Contributors

[![magiccart](https://avatars.githubusercontent.com/u/10281371?v=4)](https://github.com/magiccart "magiccart (12 commits)")[![dipakp-logicrays](https://avatars.githubusercontent.com/u/86098091?v=4)](https://github.com/dipakp-logicrays "dipakp-logicrays (2 commits)")[![vuhoi292](https://avatars.githubusercontent.com/u/68261448?v=4)](https://github.com/vuhoi292 "vuhoi292 (2 commits)")[![davidduong90](https://avatars.githubusercontent.com/u/39608917?v=4)](https://github.com/davidduong90 "davidduong90 (1 commits)")[![Zoe-997](https://avatars.githubusercontent.com/u/57448131?v=4)](https://github.com/Zoe-997 "Zoe-997 (1 commits)")

### Embed Badge

![Health badge](/badges/magepow-autoflushcache/health.svg)

```
[![Health](https://phpackages.com/badges/magepow-autoflushcache/health.svg)](https://phpackages.com/packages/magepow-autoflushcache)
```

###  Alternatives

[barryvdh/laravel-httpcache

HttpCache for Laravel

502404.4k10](/packages/barryvdh-laravel-httpcache)[magepow/categories

Shows categories in the form of a grid or list, on category pages, home page or any other page.

4019.7k](/packages/magepow-categories)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
