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

[Bug]多个子项目在主项目中同时加载 并且在主项目中添加keepalive 静态资源重复请求 #2710

Closed
1316168367 opened this issue Oct 7, 2023 · 1 comment

Comments

@1316168367
Copy link

  • 多个子项目在主项目中同时加载 并且在主项目中添加keepalive对子项目进行缓存 静态资源css文件重复请求但是js文件不会
    导致子项目会先加载一次没有样式的页面 请求回来之后才会加载正常的样式

最小可复现仓库

复现步骤,错误日志以及相关配置

子项目 主项目都是vue

  1. 主项目加载完成子项目 主项目使用keepalive缓存了加载多个子项目的页面
  2. 切换路由到其他页面再返回到加载子项目的页面
  3. 子项目的css静态文件会再次请求 但是js html不会

相关环境信息

  • qiankun 版本: 2.10.2
  • 浏览器版本:edge 117.0.2045.60 (正式版本) (64 位)
  • 操作系统:win11
@github-actions
Copy link

github-actions bot commented Oct 7, 2023

由于缺乏足够的信息(github、stackblitz、codesandbox等可复现仓库),我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。如果只是单独的技术咨询,可移步 https://qiankun.umijs.org/#-community 交流~

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant