pronko / magento2-cache-toolbar

pronko/magento2-cache-toolbar

Magento 2 module that adds a quick cache management toolbar to the admin panel

magento2-module Compatibility: Not yet tested Code Quality: Pending Tests: N/A Security: Pending OSL-3.0

Are you the maintainer of pronko?

Packagento pulls pronko's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

Viewing version 1.1.2. Latest version is 1.1.6. Switch to latest

⚡ Cache Toolbar for Magento 2

Clear cache in one click — from any page, without navigating to System → Cache Management.

Latest Version
Total Downloads
PHP
Magento
MageOS
License


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.

[image: Cache toolbar]

Clearing cache...

[image: Clearing cache]

Cache cleared...

[image: Cache cleared]

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 shortcutCtrl+Shift+C triggers Smart Clear from anywhere in the admin
  • Auto-dismiss — success message disappears after 3 seconds, stays out of your way
  • 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

Installation

composer require pronko/magento2-cache-toolbar
bin/magento module:enable Pronko_Core Pronko_CacheToolbar
bin/magento setup:upgrade

Configuration

Stores → Configuration → Pronko → Cache Toolbar

Setting Default Description
Enable Toolbar Yes Show/hide the toolbar
Keyboard Shortcut Yes Enable Ctrl+Shift+C
Smart Clear Types 7 types Which cache types Smart Clear targets
Show Fast Admin Promo Yes Promotional banner (disable for client deployments)

Configuration settings:

[image: Settings]


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

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

Promotional banner

This module ships with an optional promotional banner for Fast Admin — a faster Magento admin interface by Pronko Consulting.

The banner is fully optional — disable it at:
Stores → Configuration → Pronko → Cache Toolbar → Show Promo Banner → No

[image: Fast Admin]

The banner is a static HTML element with a link. No analytics, no tracking, no external requests.


Requirements

  • PHP 8.1+
  • Magento 2.4.4+ / MageOS 2.4.6+
  • pronko/magento2-core ^1.0 (installed automatically by Composer)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.


License

Open Software License 3.0 (OSL-3.0)


Tired of slow Magento admin?   ⚡ Fast Admin loads orders in 0.3s →

Changelog

1.1.2 — 2026-05-29

Fixed

  • SuppressCacheOutdatedNotification 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

1.1.1 — 2026-05-29

Changed

  • ACL: added translate="title" to all resource nodes for i18n readiness
  • ACL: shortened role-tree leaf titles (Clear Cache via Cache ToolbarClear Cache, Cache Toolbar ConfigurationConfiguration) — no permission or id changes

1.1.0 — 2026-05-28

Added

  • ViewModel Pronko\CacheToolbar\ViewModel\Toolbar replaces the custom Block class
  • Human-readable cache type labels in toolbar message ("Configuration" instead of "config")
  • Error handling in SmartClear and FullClear controllers with PSR logger writing to var/log/pronko.log
  • Request deduplication in JS — rapid clicks no longer fire multiple simultaneous requests
  • aria-live="polite" and role="status" on toolbar message for screen reader support
  • pronko/magento2-core dependency — shared admin tab, parent ACL resource, and logger

Changed

  • ACL resources restructured under Pronko_Core::pronko parent resource owned by Pronko_Core
  • Pronko Consulting admin tab definition moved to Pronko_Core

Removed

  • Block/Adminhtml/Toolbar.php — replaced by ViewModel (breaking change)

1.0.3 — 2026-05-27

Added

  • i18n/en_US.csv with all translatable strings

Changed

  • Toolbar message updated from "Cache outdated" to "Cache invalidated" to align with Magento terminology

1.0.2 — 2026-05-26

Fixed

  • PHP version constraint corrected to >=8.1.0 to match Magento 2.4.4+ support
  • Added magento/module-admin-notification as an explicit Composer dependency
  • Added Magento_AdminNotification to module load sequence
  • Controllers now implement HttpPostActionInterface

1.0.1 — 2026-05-25

Fixed

  • ACL resources restructured under a Pronko Consulting parent group

1.0.0 — 2026-05-17

Added

  • Smart Clear button — clears only the invalidated cache types in one click
  • Full Clear button — clears all cache types and flushes the cache pool
  • Cache status bar appears automatically on page load when cache is outdated
  • Keyboard shortcut Ctrl+Shift+C to trigger Smart Clear from any admin page
  • Configurable Smart Clear cache types via Stores → Configuration → Pronko → Cache Toolbar
  • Auto-dismiss success message after 3 seconds
  • Fast Admin promo banner — shown after first Smart Clear, dismissible for 30 days
Versions
Version Stability QA Status Compatibility Released
1.1.6 stable Fail Magento 2.4.7-2.4.9 Details 2026-06-15 07:27:35
1.1.5 stable Not tested Not yet tested Details 2026-05-29 13:32:44
1.1.4 stable Not tested Not yet tested Details 2026-05-29 12:32:03
1.1.3 stable Not tested Not yet tested Details 2026-05-29 00:15:18
1.1.2 stable Not tested Not yet tested Details 2026-05-28 23:45:23
1.1.1 stable Not tested Not yet tested Details 2026-05-28 23:19:58
1.1.0 stable Not tested Not yet tested Details 2026-05-27 18:10:42
1.0.3 stable Not tested Not yet tested Details 2026-05-25 23:10:04
1.0.2 stable Not tested Not yet tested Details 2026-05-25 08:58:05
1.0.1 stable Not tested Not yet tested Details 2026-05-25 08:36:24
1.0.0 stable Not tested Not yet tested Details 2026-05-18 07:52:55

Requires 6

Package Constraint
magento/framework >=103.0.0
magento/module-admin-notification >=100.0.0
magento/module-backend >=102.0.0
magento/module-cache-invalidate >=100.0.0
php >=8.1.0
pronko/magento2-core ^1.0

No QA results yet

QA pipelines haven't run for this version. Compatibility and quality results appear here once the vendor publishes a tagged release that gets ingested.

License
OSL-3.0
Authors
  • Pronko Consulting

More from pronko

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.