Javascript refresh

The following code is used to make the browser do a refresh:

location.reload();

To make the browser reload the page only, and not download anything from the server, use the following code:

location.reload(false);