Try to use:
location.reload(true);
When this method receives a true
value as argument, it will cause the page to always be reloaded from the server. If it is false or not specified, the browser may reload the page from its cache.
More info:
More Related Contents:
- How can I refresh a page with jQuery?
- Check if page gets reloaded or refreshed in JavaScript
- How to remove the hash from window.location (URL) with JavaScript without page refresh?
- What’s the difference between window.location and document.location in JavaScript?
- JavaScript: location.href to open in new window/tab?
- Refresh a page using JavaScript or HTML [duplicate]
- Prevent Page Load on Jquery Form Submit with None Display Button
- How to force reloading a page when using browser back button?
- How to reload or re-render the entire page using AngularJS
- Can you force Vue.js to reload/re-render?
- How to automatically reload a web page at a certain time?
- How do I refresh a page using JavaScript?
- One time page refresh after first page load
- Is there an easy way to reload css without reloading the page?
- React | How to detect Page Refresh (F5)
- Execute function before refresh
- What happens to code after a javascript redirect (setting window.location.href)?
- What’s the difference between window.location and document.location in JavaScript?
- How do I reload a page without a POSTDATA warning in Javascript?
- javascript location.hash refreshing in IE
- Refresh page and run function after – JavaScript
- What’s the difference between window.location and document.location?
- Preferred method to reload page with JavaScript? [closed]
- Difference between window.location.assign() and window.location.replace()
- Force page scroll position to top at page refresh in HTML
- Button that refreshes the page on click
- window.location versus just location
- window.location.href doesn’t redirect
- How to prevent an iframe from reloading when moving it in the DOM
- Is there a way to have an onload callback after changing window.location.href?