Cart Item Counter & Cache
-
Hi,
After a page has been cached with X amount of products in cart, it stays like that (for 1 second) even after adding another item to the cart.
Let’s say that I visit an archive page with 3 items in the cart. The page will be cached with this value, Then if I add one more item – the Cart item counter will show 3 and then change to 4 (after about 1 second). How can I fix it? How can I delay showing the item counter till it actually finished the calculation?
Thank you
Hello,
First of all, make sure that the Cart page is not cached, if so, then exclude it from the cache and recheck the issue.
Let me know the result.
Kind Regards
Hello Luke,
I was referring to the cart icon in the header. The cart page has no issue.
FYI: I use OpenLiteSpeed for caching with default configuration.
Isaac
Hello,
Is there any chance that you could give me access to the dashboard area so I can check the settings there?
Looking forward to collaborating with you!
Kind Regards