-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PERFORMANCE] Configuration option to disable product specific layout update handles #189
Comments
Hello. Very interesting comment as there are also requests to increase the number of handles by @paales . Have you noticed performance slowdown with those handles or you actually tested it? Would faster cache backend help with that? I would rather not make this configurable as 3rd party extensions or customizations might depend on it. |
The other issue about adding extra handles is discussed here: #102 |
Closing due to lack of recent activity |
Magento provides layout update handles specific for each product e.g. PRODUCT_123
So for each product in each store view there is one layout cache record (with xml layout) even if you;re not using this feature.
if you have e.g. 1000 simple products, than you will also have 1000 cache entries, each for one product. If you are not using layout handles for specific products, than all these 1000 records are the same.
Actually most of the cache entries in the cache backend are cached layouts.
If there were configuration option for disabling usage of these update handles, than Magento would need to generate this layout xml only once. This way layouts could be generated once and reused between products, which would save a lot of rendering time.
The same problem applies for categories. Each category has also dedicated layout update handle which caused layout to be cached separately.
The text was updated successfully, but these errors were encountered: