By - Justin Noel
Cached views are a blessing for navigating back and forth in an Ionic Framework apps. Caching helps with things like maintaining the scroll position in a back view.
For example, if you're scrolled halfway down a list of customers and tap one of them to go to a detail view, when you navigate back, the customer list will be in the same position.
Here's how cached views look in the DOM. Notice there is always only one "active" nav-view. There may be one or several "cached" nav-view elements.