PHPackages                             hryvinskyi/magento2-smart-cache-cleaner - 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. hryvinskyi/magento2-smart-cache-cleaner

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

hryvinskyi/magento2-smart-cache-cleaner
=======================================

N/A

1.0.2(1y ago)26071MITPHP

Since Dec 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hryvinskyi/magento2-smart-cache-cleaner)[ Packagist](https://packagist.org/packages/hryvinskyi/magento2-smart-cache-cleaner)[ RSS](/packages/hryvinskyi-magento2-smart-cache-cleaner/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Magento 2 Smart Cache Cleaner
=============================

[](#magento-2-smart-cache-cleaner)

This module improves Magento 2's cache management by adding intelligent cache cleaning functionality.

Features
--------

[](#features)

- **Targeted Cache Cleaning**: Flush only invalidated cache types instead of clearing all cache types
- **One-Click Cache Refresh**: Clean invalidated caches directly from system messages
- **AJAX-Based Implementation**: Clean caches without page reload
- **User-Friendly Confirmations**: Confirmation dialogs to prevent accidental cache cleaning

Requirements
------------

[](#requirements)

- Magento 2.4.4 or higher
- PHP 8.1 or higher

Installation
------------

[](#installation)

### Composer (recommended)

[](#composer-recommended)

```
composer require hryvinskyi/magento2-smart-cache-cleaner
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
```

### Manual Installation

[](#manual-installation)

1. Download the module and upload it to `app/code/Hryvinskyi/SmartCacheCleaner`
2. Run the following commands:

```
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
```

Usage
-----

[](#usage)

### Admin Cache Management

[](#admin-cache-management)

1. Go to **System &gt; Cache Management**
2. Use the new **Flush Invalidated Cache** button to clean only invalidated cache types

### From System Messages

[](#from-system-messages)

When cache invalidation messages appear:

1. Click the **Click Here** link in the notification message
2. Confirm the action in the popup dialog
3. The invalidated caches will be refreshed via AJAX without reloading the page

Screenshots
-----------

[](#screenshots)

[![how_it_works.gif](docs/images/how_it_works.gif)](docs/images/how_it_works.gif)

Support
-------

[](#support)

For issues, questions or contributions, please contact the author or create an issue in the GitHub repository.

Author
------

[](#author)

- **Volodymyr Hryvinskyi**
- Email:
- GitHub:

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance43

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~0 days

Total

3

Last Release

511d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e254b6c28f67e639b2beb3f21a80f2b4ff9efc5ee782943d497b73523f630c1d?d=identicon)[hryvinskyi](/maintainers/hryvinskyi)

---

Top Contributors

[![hryvinskyi](https://avatars.githubusercontent.com/u/9294098?v=4)](https://github.com/hryvinskyi "hryvinskyi (8 commits)")

### Embed Badge

![Health badge](/badges/hryvinskyi-magento2-smart-cache-cleaner/health.svg)

```
[![Health](https://phpackages.com/badges/hryvinskyi-magento2-smart-cache-cleaner/health.svg)](https://phpackages.com/packages/hryvinskyi-magento2-smart-cache-cleaner)
```

###  Alternatives

[lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

6276.8k](/packages/lizardmedia-module-varnish-warmer)[redchamps/module-easy-cache-clean

Clean invalidated cache(s) easily in a Magento 2 store

2838.0k](/packages/redchamps-module-easy-cache-clean)[vendic/module-optimize-cache-size

Magento 2 extension that reduces the number of cache keys by removing catalog\_product\_view\_id\_, catalog\_product\_view\_sku\_, catalog\_product\_view\_attribute\_set\_, catalog\_category\_view\_id\_ layout handles by default

3453.6k](/packages/vendic-module-optimize-cache-size)[litespeed/module-litemage

LiteMage Full Page Cache for LiteSpeed Web Server

3254.8k](/packages/litespeed-module-litemage)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)[graycore/magento2-graph-ql-cache

A Magento 2 module that modifies the built-in GraphQlCache FPC.

121.5k](/packages/graycore-magento2-graph-ql-cache)

PHPackages © 2026

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