I just build small app to test a router. Every model is loaded once, whenever I asked for it, next time I visit same url by clicking on a link I see cached results. All good, but then I clicked back button on a browser and I saw a request to the server for a model which previously was asked with find() a.k.a. findAll(). And this happens every time I click back or forward button on a browser, no matter if I use location: 'history' or location: 'hash'
I only have two models, one requested with find() and another requested via find(id). So I’m wondering now is this suppose to happen in this way or there is some problem with my app that I should look for?
For sure that is not how it should be working. We have an app that uses location: ‘history’ and along with several models and they remain cached when user clicks back/forward in the browser.