主应用预加载开启后,加载其他子应用静态资源的请求会阻塞当前挂载应用的业务请求,特别是浏览器禁用缓存且子应用数量多(10个)的时候,阻塞尤为明显,这个能有其他的办法解决么? #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Checker | |
on: | |
issues: | |
types: [opened, edited] | |
jobs: | |
check-permission: | |
runs-on: ubuntu-latest | |
outputs: | |
require-result: ${{ steps.checkUser.outputs.require-result }} | |
steps: | |
- uses: actions-cool/check-user-permission@v2 | |
id: checkUser | |
with: | |
require: 'write' | |
log-conditions: | |
runs-on: ubuntu-latest | |
needs: check-permission | |
steps: | |
- run: echo "needs.check-permission.outputs.require-result = ${{ needs.check-permission.outputs.require-result }}" | |
- run: echo "github.event.issue.state = ${{ github.event.issue.state }}" | |
- run: echo "contains(github.event.issue.title, '[Feature Request]') = ${{ contains(github.event.issue.title, '[Feature Request]') }}" | |
- run: echo "contains(github.event.issue.body, 'https://github.com') = ${{ contains(github.event.issue.body, 'https://github.com') }}" | |
check-open: | |
runs-on: ubuntu-latest | |
needs: check-permission | |
if: needs.check-permission.outputs.require-result == 'false' && github.event.issue.state == 'open' && contains(github.event.issue.title, '[Feature Request]') == false && contains(github.event.issue.body, 'https://github.com') == false && contains(github.event.issue.body, 'https://stackblitz.com') == false && contains(github.event.issue.body, 'https://codesandbox.io') == false | |
steps: | |
- uses: actions-cool/maintain-one-comment@v3 | |
with: | |
body: 由于缺乏足够的信息(github、stackblitz、codesandbox等可复现仓库),我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供[最小重现](https://stackoverflow.com/help/minimal-reproducible-example)以重新开启。谢谢。如果只是单独的技术咨询,可移步 https://qiankun.umijs.org/#-community 交流~ | |
- uses: actions-cool/issues-helper@v3 | |
with: | |
actions: close-issue | |
check-close: | |
runs-on: ubuntu-latest | |
needs: check-permission | |
if: needs.check-permission.outputs.require-result == 'false' && github.event.issue.state == 'closed' && (contains(github.event.issue.body, 'https://github.com') == true || contains(github.event.issue.body, 'https://stackblitz.com') == true || contains(github.event.issue.body, 'https://codesandbox.io') == true) | |
steps: | |
- uses: actions-cool/issues-helper@v3 | |
with: | |
actions: open-issue |