DW version 9.5.7
One of our pages was having a very slow performance on PLP, PDP, and Cart / Checkout flow.
After some troubleshooting and code tracking, we isolated the problem, the slowest processes pointed to Lucene indexes and OrderlineDiscounts.
1 - Dynamicweb.Indexing.Lucene was updated to the last version. The load time for the page remained very slow.
2 - when the Orderline Discounts where disabled, the page speed was ok as expected.
3 - when the Orderline Discounts where enabled, but not using indexes, same positive result.
4 - Looking into the Orderline Discounts that were causing slowness: They were configured using several product queries for "IncludedProductsAndGroupsSelector". Replacing these queries by Groups, created for this purpose, resolved the issue in our tests, returned positive results too, and provided us with a possible workaround for now.
- But this workaround will take a couple of hours at best, to recreate all these queries in groups, and test everything, not to mention the fact that the customer expectations are for the discounts to be set up using queries instead of groups.
- Also, the project was updated to DW version 9.5.7 precisely because the Discounts issues where indicated as fixed bugs:
58806 - Improved Performance of discount rendering.
56245 - Fixed performance issue when cache on discount included/excluded queries not used on Discount calculating.
Can you guys to check this issue?
Best Regards,
Lara