I think this issue has been raised before but I am unable to find the post. So re-posting it.
When I open my app in browser, and click a few links which redirect me to other parts of the app, all works fine. No issues at all.
Also, when I press browser back, and go to previous pages, then go forward and then go back again etc… all worked well. Even refreshing pages works fine.
The issue arises when, say, I navigated a few times back-and-forth, and then I go to some other page in the app by writing it out in the address bar. The page is loaded fine again, but when I press browser back, the previous page is shown as plain HTML without any layout page nor any CSS etc.
Interestingly, if I do a refresh here, not only the page loads up correctly (as expected)… but it also allows me to go forward to the URL that I had entered in the address bar - and that page again opens perfectly fine.