Is there a best practice here in regards to how form keys (secret keys) should be handled?
As an example, the product page itself will be cached with the form key then being cached as well. The customer will add the product to their cart, and it will work fine the first time. The second time you try to add a product to your cart from the same page, the key will be cached and the addition to your cart will be subsequently rejected by Magento.
Short of disabling secret keys in Magento, is there a suggested solution to this problem? I could see LiteMage automatically flushing the product page of the associated cart addition as one solution (though a complicated one most likely). Similarly we could hole punch the form key itself, but that also sounds tricky.
Any advice on how customers are supposed to handle that?
As an example, the product page itself will be cached with the form key then being cached as well. The customer will add the product to their cart, and it will work fine the first time. The second time you try to add a product to your cart from the same page, the key will be cached and the addition to your cart will be subsequently rejected by Magento.
Short of disabling secret keys in Magento, is there a suggested solution to this problem? I could see LiteMage automatically flushing the product page of the associated cart addition as one solution (though a complicated one most likely). Similarly we could hole punch the form key itself, but that also sounds tricky.
Any advice on how customers are supposed to handle that?