Yes, I made some changes. The English translation might not be accurate since it’s written in my native language, but this is how I did it: LSC > Cache > Advanced > Various Cookies. I added the tdw_favourites line there. It’s not a 100% solution, but it works for me. The cache resets every time a new item is added to favorites.
I partially solved the problem by adding the line tdw_favourites to the cookies section in the settings. However, now the caching doesn’t seem to work after adding a product to favorites. Pages load quickly before adding a product to favorites, but after adding a product, the pages behave as if they are opening for the first time.