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

feat:增加控制台静态资源/assets/浏览器缓存 #2859

Merged
merged 2 commits into from
Nov 9, 2023
Merged

feat:增加控制台静态资源/assets/浏览器缓存 #2859

merged 2 commits into from
Nov 9, 2023

Conversation

qwenode
Copy link
Contributor

@qwenode qwenode commented Nov 8, 2023

What this PR does / why we need it?

当前操作控制台(每点击一个不同的页面)或刷新后,都需要从服务器加载静态资源且没有缓存,在网络差的情况下访问特别慢

Summary of your change

给静态资源增加浏览器缓存时间

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

Copy link

f2c-ci-robot bot commented Nov 8, 2023

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Collaborator

@ssongliu ssongliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@ssongliu
Copy link
Collaborator

ssongliu commented Nov 9, 2023

/approve

Copy link

f2c-ci-robot bot commented Nov 9, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ssongliu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved label Nov 9, 2023
@f2c-ci-robot f2c-ci-robot bot merged commit 0e93d78 into 1Panel-dev:dev Nov 9, 2023
1 check passed
@ssongliu
Copy link
Collaborator

ssongliu commented Nov 9, 2023

Refs #2860

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

Successfully merging this pull request may close these issues.

None yet

2 participants