Skip to content

Commit c4492df

Browse files
committed
Improve readme
1 parent 20ce788 commit c4492df

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
# Vendic_OptimizeCacheSize
2-
Magento 2 module that allows to remove handlers and reduces cache size
2+
Magento 2 extension that reduces the number of cache keys by removing `catalog_product_view_id_`, `catalog_product_view_sku_`, `catalog_category_view_id_`
3+
layout handles **by default**,
34

4-
You can set up it here Stores -> Configuration -> Vendic -> Optimize Cache Size
5+
**This means that you loose the option to have product/category specific layout handles**, unless you re-enable them via the configuration.
6+
7+
Configuration: Stores -> Configuration -> Vendic -> Optimize Cache Size
58

69
## Installation
710
```bash
811
composer require vendic/magento2-optimize-cache-size
912
```
13+
14+
## Related discussions
15+
- [#36244 Product layout based on attribute set](https://github.com/magento/magento2/pull/36244#issuecomment-2231106962) - 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](https://github.com/magento/magento2/pull/36244#issuecomment-2265233727)
16+
17+
## Results
18+
Here's a some real life results from a Magento 2.4 instance with 7k products and 1.5k categories:
19+
20+
![number cache keys](./media/cache-keys.png)
21+
22+
![cache ttl](./media/cache-ttl.png)
23+
24+
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.

media/cache-keys.png

37.8 KB
Loading

media/cache-ttl.png

34 KB
Loading

0 commit comments

Comments
 (0)