Please Note: I am not trying to detect that the back button was clicked. I don't care about that.
I just want to know that they page was loaded on a back navigation. I want to display a warning to my user in one place of my application if they click the back button advising them to refresh.
Edits:
1) I do want my pages to cache. We live in a mobile world now. Not caching is a bad practice.
2) I would like this feature to be URL agnostic. Decoupling is good practice.