Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lxzy-yun opened this issue Apr 29, 2024 · 0 comments

Comments

@lxzy-yun
Copy link

lxzy-yun commented Apr 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants