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
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 0
Open Issues: 1
Type:magento2-module
Requires
- magento/framework: *
- magento/module-catalog: 104.0.*
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 loose the option to have product/category specific layout handles, 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
- #189 Configuration option to disable product specific layout update handles
- #102 New handles for the Category, Product and CMS pages
- #36244 Product layout based on attribute set - We need to adjust this extension for Magento 2.4.8, since it's not possible to create specific layouts per attribute set. See toonvd's comment
Results
Here's a some real life results from a Magento 2.4 instance with 7k products and 1.5k categories:
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.