i want to capture the the reload of my page in javascript code example
Example: refresh page js
//with no cache
document.location.reload(true);
//else
document.location.reload();
//with no cache
document.location.reload(true);
//else
document.location.reload();