I enabled caching with CacheMemcached, my memcached server has been correctly configured and working well. But since the caching is enabled, sometimes when I save products, disable/enable module... it doesn't take effect! There is no change on the FO when I update product information (sometimes), I disable a module and reload the BO the module keep enabled...
I have checked some core files of Prestashop, I think the problem is in doctrine, when an SQL is executed via doctrine it doesn't clear all related SQL cached queries!
All related cached SQL queries must be cleared when an Insert, update, delete, etc. queries are executed
Edit by Khouloud
the cache issue is happening on another area such as module link list this: https://prnt.sc/rjjfs3
Can you follow:
Steps to reproduce the behavior:
Hi @ets-soft,
Thanks for your report.
I did not manage to reproduce the issue with PS1.7.6.4.
I attached a screen record
Untitled_ Mar 17, 2020 10_44 AM.webm.zip
Could you please provide us with more info? We need more details to understand how we can reproduce your issue:
Don't you know how to get this information? Please read the following article:
http://build.prestashop.com/howtos/misc/how-to-create-bug-report/
Thanks!
hi @khouloudbelguith
Thanks for checking, I just review the problem, seem it's ok when updating product info but the cache issue is happening on other area such as module link list this: https://prnt.sc/rjjfs3
Can you follow:
Thanks
@ets-soft, thanks for these clarifications.
I manage to reproduce the issue with PS1.7.5.2 and PS1.7.6.4.
Untitled_ Mar 23 2020 2_17 PM.webm.zip
I鈥檒l add this to the debug roadmap so that it鈥檚 fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Thanks!
hi @khouloudbelguith
I think the problem may not only happen in the link widget title, it's only 1 example case. Please tell the dev team to check the whole caching process deeply to make sure it works correctly everywhere.
Actually, I tried to look into the code of Prestashop but could not figure out how to fix the issue so I'm looking forward to a fix from Prestashop as this is really important feature and I really need it for my customers' website.
Thanks
@ets-soft, thanks for these clarifications.
I can confirm this issue on PS 1.7.7.0
Most helpful comment
hi @khouloudbelguith
I think the problem may not only happen in the link widget title, it's only 1 example case. Please tell the dev team to check the whole caching process deeply to make sure it works correctly everywhere.
Actually, I tried to look into the code of Prestashop but could not figure out how to fix the issue so I'm looking forward to a fix from Prestashop as this is really important feature and I really need it for my customers' website.
Thanks