I have facing in cache issue in my magento 2 store here if i submit any form getting error and success message coming when refresh page.i don't understand why this issue comes again and again .if any one facing same issue please suggest me and reply me as soon as
3
-
Maybe this link can help you: magento.stackexchange.com/questions/208110/… – Sourabh Kumar Sharma Sep 28 '18 at 6:14
0
I have got the solution this code comment now
/*$(window).on('beforeunload', function () {
$.cookieStorage.set('mage-messages', '');
}); */
added the code here
setTimeout(function()
{
jQuery( ".messages" ).html('');
}, 50000);
its working for now in backend side cache always enable