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

fix: Disable the cache of front-end resources #392

Merged
merged 5 commits into from
Dec 26, 2024

Conversation

CH3CHO
Copy link
Collaborator

@CH3CHO CH3CHO commented Dec 26, 2024

Ⅰ. Describe what this PR did

Return "Cache-Control: no-store" header for static resource requests.

However, since the cached files may still be valid, user need to refresh (F5/Ctrl+F5) the page to get the updated resource and new cache control policy.

Ⅱ. Does this pull request fix one issue?

fixes #353

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@CH3CHO CH3CHO requested a review from johnlanni December 26, 2024 05:40
@CH3CHO CH3CHO requested a review from slievrly as a code owner December 26, 2024 05:40
@johnlanni johnlanni merged commit a783f45 into higress-group:main Dec 26, 2024
4 checks passed
@CH3CHO CH3CHO deleted the fix/fe-cache branch December 26, 2024 09:43
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

Successfully merging this pull request may close these issues.

控制台UI缓存机制细化
2 participants