Magento2 - Admin cache refresh helper

Magento2 - Admin cache refresh helper

June 14, 2020

Admin cache message refresh helper #

I have prepared really simple extension for Magento that can save few minutes every week. Whenever you make change in admin panel, Magento tells you that you need to refresh one or more cache types. So you follow the link, select cache types and hit Submit button. With this extension you can do all these directly within the popup.

You have options to refresh all cache types or just those marked as invalidated. When clicked, specified cache types will be refreshed instantly through AJAX call and message will be closed.

Quite convenient, enjoy!

composer require brightlights/admincachemessage
bin/magento module:enable BrightLights_AdminCacheMessage
bin/magento setup:upgrade

How it works

💡 UPDATE: This extension is now covered with MFTF test, see here how it was implemented!

Resources #

🍺 If you liked this article you might consider buying me a beer? ;)