files/en-us/web/api/location/reload/index.md
{{ APIRef("HTML DOM") }}
The reload() method of the {{DOMXref("Location")}} interface reloads the current URL, like the Refresh button.
reload()
forceGet {{non-standard_inline}}
true to force a reload bypassing the cache. Defaults to false. Only supported in Firefox.None ({{jsxref("undefined")}}).
SecurityError {{domxref("DOMException")}}
// reload the current page
window.location.reload();
{{Specifications}}
{{Compat}}