Apparently some of our users are experiencing the situation where, after selecting an 'add to cart' link, they are redirected to the cart view page, which reports that 'your cart is empty'.
I've been unable to duplicate it and the database suggests the items are being added to the cart correctly (there are entries in the ec_cart table for the appropriate user IDs). This leads me to believe it's an issue with client-side cacheing. (Drupal-side cacheing is disabled.)
Is there anything that can be done to discourage clients from cacheing the cart page? Is it possible that this is a result of the redirection used to shunt them from the 'cart/add' page to the 'cart/view' page? (I seem to recall certain kinds of redirects can sometimes affect cacheing priorities, or something.)
Is there something obvious I'm missing?
Comments
Comment #1
kingandySeriously, nobody else has ever experienced this?
Comment #2
davea commentedIs this a consistent problem?
DaveA
Comment #3
kingandyIt's consistent in that the same users continue to experience it. It does seem to be specific to those users, though, and we still haven't managed to duplicate it locally.
We are basically assuming that it's an environmental issue - proxy servers or web browsers ignoring cache instruction headers, or something - but we are keen to do everything we can to discourage cacheing (especially on such a dynamic page).