Using reload() without any arguments retrieves the current page from the browser’s cache, if it’s available there. To avoid this and get the page directly from the server, you can call reload with the argument true:
location.reload(true);
Using reload() without any arguments retrieves the current page from the browser’s cache, if it’s available there. To avoid this and get the page directly from the server, you can call reload with the argument true:
location.reload(true);