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?