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: repair caching for output-hashed files #1473

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

dhhyi
Copy link
Collaborator

@dhhyi dhhyi commented Aug 7, 2023

PR Type

[x] Bugfix

What Is the Current Behavior?

Static files with calculated output hash do not send a cache-control header, but output-hashed files can be cached indefinitely as their name changes whenever the content changes.

What Is the New Behavior?

Repaired and generalized mechanism to set cache-control header.

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

AB#88364

@dhhyi dhhyi added the bug Something isn't working label Aug 7, 2023
@dhhyi dhhyi self-assigned this Aug 7, 2023
@dhhyi dhhyi marked this pull request as ready for review August 11, 2023 04:55
@dhhyi dhhyi requested a review from shauke August 11, 2023 04:55
@dhhyi dhhyi removed their assignment Aug 11, 2023
@dhhyi dhhyi added regression Something previously working doesn't work anymore performance Performance improvements labels Aug 11, 2023
@shauke shauke added this to the 4.2 milestone Aug 11, 2023
@shauke shauke merged commit 721b26a into develop Aug 11, 2023
@shauke shauke deleted the fix/pwa-static-file-cache branch August 11, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance Performance improvements regression Something previously working doesn't work anymore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants