Preserve a Page in History

Hello,

Perhaps I’m missing something, but I’m trying to prevent the page from getting removed from the DOM after being viewed. Let’s say I have Home -> Inbox -> Messages. If I’m on the Messages page, then I decided to go back to Inbox, the page template for the Messages gets removed from the DOM. I want to preserve it as I’m loading a lot of scripts on that page and I don’t want to load them every time the page is accessed. I also want to retain the content generated.

I have stackPages:true on the Inbox page’s view, and options: { history: true } on both Inbox and Messages pages’ routes, but it’s not working. What else should I do? I believe I have the same issue as the one specified on this post: [solved] Keep one specific page cached in the DOM for ever.

Thanks in advance!