1👍
What you describe here:
clicks the “back” button on the browser, such that template A loads
does not happen. When you click the back button, pages do not load again. The browser simply redisplays what it has in its cache. Nothing is reloaded, and neither templates nor context variables come into it at all.
Source:stackexchange.com