feat: Enhance browser cache management and localization support#11277
feat: Enhance browser cache management and localization support#11277zhengkunwang223 merged 2 commits into1Panel-dev:dev-v2from
Conversation
- Updated browser cache handling in WebsiteService to include a 'noModify' option. - Introduced new method AddBroswerNoCache in Location to manage no-cache directives. - Added localization for 'noModify' in multiple languages. - Updated frontend to support the new browser cache options in the proxy configuration.
|
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 |
- Adjusted the rendering of cache tags in the proxy configuration to conditionally display based on cache time values. - Improved user interface by adding margin classes for better spacing between cache tags.
What this PR does / why we need it?
#11273
默认由反向代理的上游负责cache-control 头, openrestry不再添加反向代理的所有缓存策略,浏览器缓存衍生出三个按钮用于支持新逻辑。
Summary of your change
Please indicate you've done the following: