Skip to content

Magento 2 module that allows to remove redundant handlers and reduces cache size

License

Notifications You must be signed in to change notification settings

Vendic/module-optimize-cache-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vendic_OptimizeCacheSize

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

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.

About

Magento 2 module that allows to remove redundant handlers and reduces cache size

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages