Use the history go() method.
<form>
<input type="button" onClick="history.go(0)" value="Refresh" />
</form>Alternatively, you can use cache control.
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Set using Java or Node.js:
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1.
response.setHeader("Pragma", "no-cache"); // HTTP 1.0.
response.setHeader("Expires", "0"); // Proxies.