Hi - we’ve got page caching set to be on, but are seeing an issue where if a session error or exception is thrown, the page does not display the messaging.
we’re limiting one product to be the only item allowed in the cart.
if a user tries to add another product to their cart, they are supposed to be shown a standard message banner saying that action is not available
What’s happening is: no message banner is being displayed, but if the user goes to their cart, the message is displayed there (no caching on the cart).
Is there a way to set the messaging block of the page not to be cached?