fix: Update Cache-Control headers for static resources in router#11020
fix: Update Cache-Control headers for static resources in router#11020zhengkunwang223 merged 2 commits into1Panel-dev:dev-v2from
Conversation
|
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. DetailsInstructions 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-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/lgtm |
What this PR does / why we need it?
参考推荐做法,打包好的vue asset通常文件名有hash, 可视为永远不变,加上immutable 让浏览器完全缓存,避免刷新验证。

Summary of your change
给 asset 下的文件都加上 immutable cache 标记
Please indicate you've done the following: