w3cert/magento2-cachecleaner

A Magento 2 module to clear both Magento and Varnish caches

dev-main 2023-09-21 08:52 UTC

This package is auto-updated.

Last update: 2024-05-12 13:32:19 UTC


README

This Magento 2 module provides an easy way to clear both Magento and Varnish caches directly from the admin panel.

Features

  • Clears Magento frontend and backend cache.
  • Purges Varnish cache.
  • Integrated directly into the Cache Management section for easy access.

Installation

Using Composer (Recommended)

  1. Navigate to your Magento root folder:
cd path_to_the_magento_root_directory
  1. Install the module via Composer:
composer require w3cert/magento2-cachecleaner
  1. Enable the module:
php bin/magento module:enable W3cert_CacheCleaner
php bin/magento setup:upgrade
php bin/magento cache:flush

Manual Installation

Download from github and place the folder inside app/code/W3cert/CacheCleaner.

Navigate to your Magento root folder:

cd path_to_the_magento_root_directory

Enable the module:

php bin/magento module:enable W3cert_CacheCleaner
php bin/magento setup:upgrade
php bin/magento cache:flush

Usage

  • Go to the Magento 2 Admin Panel.
  • Navigate to System > Cache Management.
  • Find the "Clear Varnish & Magento Cache" option and click it.
  • Your Magento and Varnish caches will be cleared.

Support

If you encounter any problems or bugs, please create an issue on GitHub. Contribution

Feel free to fork and submit a pull request if you wish to contribute to the module's development.