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(core): prevent http cache module from setting headers after they had been sent #6720

Merged
merged 2 commits into from
May 14, 2022

Conversation

lsliwaradioluz
Copy link
Collaborator

This simple change prevents setting response headers after they had been sent to the client.

Such scenario can happen for example when some middleware redirects the response before it reaches the http cache module logic.
image

@github-actions github-actions bot added the Next Issues/bugs for Vue Storefront Next label May 11, 2022
@github-actions
Copy link
Contributor

💙 vsf-next-demo successfully deployed at

@lsliwaradioluz lsliwaradioluz merged commit b534145 into main May 14, 2022
@lsliwaradioluz lsliwaradioluz deleted the fix/http-cache-setting-headers-when-sent branch May 14, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Next Issues/bugs for Vue Storefront Next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants