It's a single page application, so reloading it on logout by using window.location.reload()
will make the app 'start fresh'.
With that said make sure to profile memory consumption of the app, when cacheViews: true
. As long as the cached views stay in the DOM, garbage collection won't be able to reallocate memory.