定制 vendic/module-optimize-cache-size 二次开发

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

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

vendic/module-optimize-cache-size

最新稳定版本:2.0.0

Composer 安装命令:

composer require vendic/module-optimize-cache-size

包简介

Magento 2 extension that reduces the number of cache keys by removing catalog_product_view_id_, catalog_product_view_sku_, catalog_category_view_id_ layout handles by default

README 文档

README

Magento 2 extension that reduces the number of cache keys by removing catalog_product_view_id_, catalog_product_view_sku_, catalog_category_view_id_ layout handles by default,

This means that you lose the option to have product/category specific layout handles (both through the use of XML files in your installation and through the use of Design > Layout and Design > Custom Layout Update on the category and product edit pages in the admin), unless you re-enable them via the configuration.

Configuration: Stores -> Configuration -> Vendic -> Optimize Cache Size

Installation

composer require vendic/module-optimize-cache-size

Related discussions

Results

Here's a some real life results from a Magento 2.4 instance with 7k products and 1.5k categories:

number cache keys

cache ttl

The arrow marks the release of this extension. You can clearly see the results. Cache keys were reduced 50% (or more). Average Redis TTL also dropped significantly.

统计信息

  • 总下载量: 40.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 33
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 32
  • Watchers: 3
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-20