refresh window js
snippet in javascript

refresh window js

user8195

window.location.reload();

refresh page js

user9171

//with no cache
document.location.reload(true);

//else

document.location.reload();

javascript reload page

user4570

location.reload();