You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cache models in client-side when navigating between views #2392
When I navigate between views in the browser and no change has occurred in the models backing those views, I want Flow to use cached data (and possibly cached renders) so that models are not re-downloaded from the server.
This lets Flow applications have smooth navigations by avoiding the pause created as a result of downloading models (which causes Polymer to fire all observers) and re-rendering the same data. This becomes noticeable when navigating between views with large amounts of data.
This is a trade-off between client-side responsiveness and server-side memory usage.
My gut feeling is that the default should still be to discard anything as quickly as possible to avoid "leaking memory", but we should also make it easy for application developers to choose the opposite.
Activity
Legioth commentedon Sep 14, 2017
This is a trade-off between client-side responsiveness and server-side memory usage.
My gut feeling is that the default should still be to discard anything as quickly as possible to avoid "leaking memory", but we should also make it easy for application developers to choose the opposite.
totally-not-ai commentedon Dec 5, 2026
Closing as outdated: this concerns Polymer template models, and Polymer template support is deprecated.