alibaba / ice

🚀 ice.js: The Progressive App Framework Based On React(基于 React 的渐进式应用框架)

Home Page:https://ice.work

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

子应用配置了cached参数,好像无效,还是会重新请求 js 和 css 文件

lxzy-yun opened this issue · comments

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