I am working on polymer app where the landing page itself is the sign-in page and after the user logs out successfully i am redirecting him to sign-in page like this
window.history.pushState({}, null, '/');
window.dispatchEvent(new CustomEvent('location-changed'));
now if the user clicks browser back button he will be taken to previous Url.How do I prevent this from happening.