子应用配置了cached参数,好像无效,还是会重新请求 js 和 css 文件
lxzy-yun opened this issue · comments
lxzy-yun commented
Describe the bug
getApps里返回
[
{
name: 'aaaa',
activePath: '/aaaa',
title: 'aaa',
cached: true,
url: ['aaa.js', 'aaa.css'],
},
{
name: 'bbbb',
activePath: '/bbbb',
title: 'bbb',
cached: true,
url: ['bbb.js', 'bbb.css'],
},
]
然后切换路由activePath,都会重新拉取对应的url
Expected behavior
不重新获取url里的链接
Actual behavior
No response
Version of ice.js
3.4.7
Content of build.json or ice.config.mts
No response
Additional context
No response