DeWu Technology
Mar 5, 2021 · Frontend Development
Dynamic Tab Caching with Vue keep-alive
Vue’s keep-alive component enables dynamic tab caching in B‑end applications by storing component VNodes in an internal LRU cache, preserving state across route switches, supporting include/exclude patterns, router‑meta flags, Vuex‑driven lists, and custom strategies for nested routes to prevent stale data and excess API calls.
LRURouterSPA
0 likes · 11 min read