Understanding and Implementing Vue's Keep-Alive Component
The <keep-alive> component in Vue.js serves to cache inactive component instances instead of destroying them when they are switched out. This mechanism is beneficial for performence optimization, particularly in scenarios involving frequent component transitions.
Props
include: Accepts a string, regular expression, or an array of strings ...
Posted on Sat, 11 Jul 2026 16:29:08 +0000 by neo777ph
Controlling Component Cache Behavior During Route Navigation in RuoYi
Route-Level Cache Control
In RuoYi framework, you can prevent specific routes from using cached components by modifying the route configuration in src/api/router/index.js. Add the noCache: true parameter to the route's meta object:
{
path: '/storage',
component: Layout,
hidden: true,
redirect: 'noredirect',
children: [
{
pat ...
Posted on Thu, 14 May 2026 03:18:11 +0000 by Jeroen_nld