3

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

enter image description here

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.