定制 hryvinskyi/magento2-smart-cache-cleaner 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hryvinskyi/magento2-smart-cache-cleaner

最新稳定版本:1.0.2

Composer 安装命令:

composer require hryvinskyi/magento2-smart-cache-cleaner

包简介

N/A

README 文档

README

This module improves Magento 2's cache management by adding intelligent cache cleaning functionality.

Features

  • Targeted Cache Cleaning: Flush only invalidated cache types instead of clearing all cache types
  • One-Click Cache Refresh: Clean invalidated caches directly from system messages
  • AJAX-Based Implementation: Clean caches without page reload
  • User-Friendly Confirmations: Confirmation dialogs to prevent accidental cache cleaning

Requirements

  • Magento 2.4.4 or higher
  • PHP 8.1 or higher

Installation

Composer (recommended)

composer require hryvinskyi/magento2-smart-cache-cleaner
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Manual Installation

  1. Download the module and upload it to app/code/Hryvinskyi/SmartCacheCleaner
  2. Run the following commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Usage

Admin Cache Management

  1. Go to System > Cache Management
  2. Use the new Flush Invalidated Cache button to clean only invalidated cache types

From System Messages

When cache invalidation messages appear:

  1. Click the Click Here link in the notification message
  2. Confirm the action in the popup dialog
  3. The invalidated caches will be refreshed via AJAX without reloading the page

Screenshots

how_it_works.gif

Support

For issues, questions or contributions, please contact the author or create an issue in the GitHub repository.

Author

License

This project is licensed under the MIT License.

统计信息

  • 总下载量: 435
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-17