Developer forum

Forum » Ecommerce - Standard features » Excessive calls to EcomCustomerFavoriteProducts on product detail

Excessive calls to EcomCustomerFavoriteProducts on product detail

Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi,

I'm experiencing a lot of DB calls to EcomCustomerFavoriteProducts on product detail even without any favorite tag on template.
Using just the VariantCombinations loop DW is performing DB calls to every variant of the product. But when I add the ProductRelatedGroups and RelatedProducts loops on the template, DW is performing calls to get the favorites settings to all variants of each related product.

Since none of the tags to favorites are on the template shouldn't DW avoid these DB calls?

https://www.screencast.com/t/Qc7r4shYagZ

DW version: 9.3.8

Thanks in advance,
BR, Mario


Replies

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

bump... anyone? :)

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Mario

It comes from being logged in as a user without favorites - there is an error in the caching.

TFS#46678 out with next 9.3 and 9.4

BR Nicolai

Votes for this answer: 2
 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

Thanks for confirming Nicolai.

BR, Mario

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Mario

The problem regarding #46678 "Favorite lists without products are not cached causing excessive db calls when a user is logged in" has now been resolved in Dynamicweb version 9.4.3

To upgrade please choose this version from backend or download from here:

http://doc.dynamicweb.com/releases-and-downloads/releases

Let me know if you need any more help regarding this

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum