Clear Magento 2 cache in one click — from any admin page, without navigating to System → Cache Management.
Magento Open Source & Adobe Commerce 2.4.4–2.4.x, MageOS 2.4.6+
Smart Clear — only clears invalidated cache types
Zero-delay — renders server-side with no AJAX flicker
Keyboard shortcut Ctrl+Shift+C
Suppresses duplicate cache warning messages
ACL-aware and accessible (aria-live)
Configurable via Stores → Configuration
The Problem
You save a config. Magento says “cache invalidated”. You navigate to System → Cache Management. Select cache types. Click Flush. Go back to where you were.
That’s 6 steps for something that should take 1.
The Solution
A smart status bar appears automatically when your cache is outdated — with a single Smart Clear button that clears the right types instantly, without leaving the page. Magento’s default “cache invalidated” system message is suppressed — no duplicate warnings.
Features
Smart Clear — clears only the cache types that are actually invalidated, from your configured list
Full Clear — clears all cache types and flushes the cache pool when you need a clean slate
Zero-delay detection — cache status is checked server-side on every page load, bar renders immediately with no AJAX flicker
Suppresses Magento’s default warning — no more duplicate “Cache Types are invalidated” messages
Keyboard shortcut — Ctrl+Shift+C triggers Smart Clear from anywhere in the admin
Auto-dismiss — success message disappears after 3 seconds
Configurable — choose which cache types Smart Clear targets via Stores → Configuration
ACL-aware — toolbar only renders for admin users with cache clear permission
Accessible — toolbar message uses aria-live and role="status" for screen reader support
Smart Clear vs Full Clear
Smart Clear
Full Clear
Which types
Invalidated types from your configured list
All registered cache types
Cache pool flush
No
Yes
CLI equivalent
cache:clean config full_page
cache:flush
Use case
After a config save or deploy
When something is deeply wrong
Compatibility
Platform
Version
Magento Open Source
2.4.4 — 2.4.x
Adobe Commerce
2.4.4 — 2.4.x
MageOS
2.4.6+
PHP
8.1, 8.2, 8.3, 8.4, 8.5
v1.1.6LatestJune 15, 2026
addedUnit tests for the toolbar's core classes
changedToolbar messages are now translatable
changedLighter page footprint — trimmed unused data from the toolbar markup
v1.1.5May 29, 2026
changedAdded MageOS screenshot to README
v1.1.4May 29, 2026
changedUpdated README title to include MageOS
changedUpdated README screenshots
v1.1.3May 29, 2026
changedSmartClear and FullClear controllers dispatch pronko_cache_toolbar_clear_after event after a successful cache clear, carrying action, cache_types, duration_ms, and origin=toolbar
v1.1.2May 29, 2026
fixedSuppressCacheOutdatedNotification plugin now falls back to Magento's native cache invalidation message for admins who lack the Pronko_CacheToolbar::cache_clear ACL permission — previously those admins received no notification at all
v1.1.1May 29, 2026
changedACL: added translate="title" to all resource nodes for i18n readiness
changedACL: shortened role-tree leaf titles (Clear Cache via Cache Toolbar → Clear Cache, Cache Toolbar Configuration → Configuration) — no permission or id changes
v1.1.0May 28, 2026
addedViewModel Pronko\CacheToolbar\ViewModel\Toolbar replaces the custom Block class
addedHuman-readable cache type labels in toolbar message ("Configuration" instead of "config")
addedError handling in SmartClear and FullClear controllers with PSR logger writing to var/log/pronko.log
addedRequest deduplication in JS — rapid clicks no longer fire multiple simultaneous requests
addedaria-live="polite" and role="status" on toolbar message for screen reader support
addedFast Admin promo banner — shown after first Smart Clear, dismissible for 30 days
Need a customization?
We build custom features, integrations, and modifications on top of our extensions. Tell us what you need and we'll get back to you within one business day.
We use cookies to improve your experience on our website. By continuing
to browse, you agree to our use of cookies.
Privacy Policy