# How to reload a page after an external link visit then use of browser back?

**URL:** <https://discuss.hotwired.dev/t/how-to-reload-a-page-after-an-external-link-visit-then-use-of-browser-back/6387>\
**Category:** General\
**Created:** [September 4, 2025, 12:22pm UTC](https://discuss.hotwired.dev/t/how-to-reload-a-page-after-an-external-link-visit-then-use-of-browser-back/6387 "2025-09-04T12:22:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![watercannon](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/watercannon/32/4147_2.png) [@watercannon](https://discuss.hotwired.dev/u/watercannon)\
**Post date:** [September 4, 2025, 12:22pm UTC](https://discuss.hotwired.dev/t/how-to-reload-a-page-after-an-external-link-visit-then-use-of-browser-back/6387/1 "2025-09-04T12:22:10Z")

</div>

Hi,

When my app page gets updated via turbo-stream and fetch+JavaScript, and the browser back button is used after an external link has been visited from that page, the page state before any of the updates is shown. What’s the best way to have the updated page reloaded from Turbo-cache or server after a back so that the latest version of the page is shown?

The page is still shown in its original state even after adding `expires_now` to the controller action.

But I _have_ got it to reload the page by adding

`history.pushState(null, "", location.`pathname` + "?" + Date.now());`

to a click handler for the external link.

Is this the only solution despite the unwelcome URL?

Thanks,

Mark
