The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

748 Modules
496 Ready
245 Need Help
🏆 Leaderboard
Stale v2.1.0

Selective Cache

pronko/selective-cache

Adds a button to refresh invalidated cache types in Magento admin. Can also be configured to automatically refresh invalidated cache types via cron.

19,005
Downloads
Below average
35
GitHub Stars
Above 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
11 warnings
L4 PHPStan

Tested on Magento 2.4.8-p4

Recent Test History

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

v2.1.0 on Magento 2.4.8-p4
Mar 21, 2026
v2.1.0 on Magento 2.4.8-p3
Dec 28, 2025

Share This Module's Status

Selective Cache Magento compatibility status badge

README

Loaded from GitHub

Magento 2 Selective Cache

This extension adds a Refresh Invalidated Cache button. Upon clicking the button, the extension cleans all Cache Types which are marked as Invalidated.

You can also configure and run a cronjob to refresh invalidated Cache Types.

Usage

Refresh Button

Navigate to the System > Tools > Cache Management page and you should see a Refresh Invalidated Cache button.

Cache Management Page

The cache records which are marked as Invalidated are cleaned when a user hits Refresh Invalidated Cache button.

Cache Management Success

Cronjob

You can set a cronjob to automatically clean invalidated cache types regularly. Navigate to Stores > Configuration and select Pronko Consulting > Selective Cache. Here you can enable/disable the cronjob and set when to run the cronjob.

Installation

Composer

composer require pronko/selective-cache

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.