Skip to content

fix: ensure stale-while-revalidate headers are not sent #737

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

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Oct 25, 2021

We do not support stale-while-revalidate cache headers, so this PR ensures that if they are set they are changed to must-revalidate

Test by loading this page and observing cache-control header. For comparison see the main branch.

@github-actions github-actions bot added the type: bug code to address defects in shipped code label Oct 25, 2021
@ascorbic ascorbic merged commit ef2da0d into main Oct 25, 2021
@ascorbic ascorbic deleted the fix/remove-swr branch October 25, 2021 18:55
@chris-erickson
Copy link

When can I expect this to land in the beta? Going on 4 days with a broken site and no other option for a critical piece of our operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants