-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Update varnish6.vcl #36523
Update varnish6.vcl #36523
Conversation
move encoding block to the top
Hi @jonashrem. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review. For more details, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Similar PR from somebody who worked at the Varnish company some years ago: #28894 |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
that one is removing the header logic completely. At that time brotli was not spread, but nowdays I wouldn'to go that way. |
I'm not a Varnish pro but shouldn't an accept encoding for Brotli be included? |
@in-session @jonashrem @hostep this PR proposes to remove it altogether; #28894 |
@peterjaap I had already tested the but does not give the Brotli through. |
It would also break ESI when backend is returning brotli completely (it might also work when configuring mod brotli instead) |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests CE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
https://github.com/magento run Functional Tests EE |
@magento run WebAPI Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests EE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
This part was fully removed in #38211, so we can close this task. |
move encoding block to the top
Description (*)
The encoding block inside the varnish vcl should be at the top.
The reason is, that exceptions from varnish are often placed very high. If the exception contains ESI requests, this will fail, if the backend is sending an encoding not understood by varnish (like brotli)
Related Pull Requests
/
Fixed Issues (if relevant)
/
Manual testing scenarios (*)
Questions or comments
/
Contribution checklist (*)