I have a simple text message that should change after customer logs in. So:
- when the customer lands on the page, he sees the text “please login”
- the customer clicks on “Please login”, he gets redirected to the login page and, if he logs in correctly, he lands on the customer account dashboard page
- he then navigates back to the initial page
What I expect to see is my text message to be changed to “welcome”
What I see is, instead, still “please login” and I have to refresh the page to see the text changed in “welcome”. If, after login, I land on a different page instead of a previous one, it works as expected and I see the “welcome” text with no need of refreshing.
So it’s obviously a cache issue, although I cannot understand which cache I should clean
I have magento cache enabled, including the FPC but cleaning those doesn’t change anything. Only by refreshing the page via browser I can see the changes.
Any idea on how to automatically trigger the change without the need for the customer to refresh the page?
thanks