w3cert/ magento2-cachecleaner
一个用于清除Magento和Varnish缓存的Magento 2模块
dev-main
2023-09-21 08:52 UTC
Requires
- php: ~7.4.0|~8.0.0
- magento/framework: 102.0.*
This package is auto-updated.
Last update: 2024-09-12 14:12:52 UTC
README
此Magento 2模块提供了一个从管理面板直接清除Magento和Varnish缓存的简单方法。
功能
- 清除Magento前端和后端缓存。
- 清除Varnish缓存。
- 直接集成到缓存管理部分,便于访问。
安装
使用Composer(推荐)
- 导航到您的Magento根目录
cd path_to_the_magento_root_directory
- 通过Composer安装模块
composer require w3cert/magento2-cachecleaner
- 启用模块
php bin/magento module:enable W3cert_CacheCleaner php bin/magento setup:upgrade php bin/magento cache:flush
手动安装
从GitHub下载并放置在app/code/W3cert/CacheCleaner文件夹内。
导航到您的Magento根目录
cd path_to_the_magento_root_directory
启用模块
php bin/magento module:enable W3cert_CacheCleaner php bin/magento setup:upgrade php bin/magento cache:flush
使用方法
- 进入Magento 2管理面板。
- 导航到系统 > 缓存管理。
- 找到“清除Varnish & Magento缓存”选项并点击。
- 您的Magento和Varnish缓存将被清除。
支持
如果您遇到任何问题或错误,请在GitHub上创建问题。贡献
如果您愿意为此模块的开发做出贡献,请随意分支并提交pull request。