I have an Ember app with two routes. From time to time I need to update the model on route 1.
If I switch between the two routes (1 → 2 → 1), I noticed that Ember reloads the previously loaded model (obtained when the route was first rendered).
I do not use Ember Data, only a thin manual Ajax API.
Is it possible to prevent model caching? If not, how can I update the repository with the new model?
Thank.
source
share