force page to reload on back button

JavaScript
if(performance.navigation.type == 2){
   location.reload(true);
}
Source

Also in JavaScript: