location.reload()
location.reload() reloads the current page.
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
<script>
location.reload(); //reload - possibly from cache
</script>
</body>
</html>
To force a reload from the server, pass in true as an argument like this:
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
<script>
location.reload(true); //reload - go back to the server
</script>
</body>
</html>