Avoid state resolving when user go back

This comes with the next version: Please help test: Angular 1.3, improved transitions, cached views, etc - #3 by brandyshea

Cached Views: Previously as a user navigated an app, each leaving view’s element and scope would be destroyed. If the same view was accessed again then the app would have to recreate the element. Views can now be cached to improve performance. When a view is navigated away from, its element is left in the DOM, and its scope is disconnected from the cycle. When navigating to a view which is already cached, its scope is reconnected, and the existing element which was left in the DOM becomes the active view. This also allows for scroll position of previous views to be maintained (without skippy jumps). Config variables can be used to disable view caching (set to 0), or change the maximum number of views to cache. You can also disable individual views by using the cache-view=“false” attribute: ionView docs

1 Like