Closed thekid closed 3 years ago
Pull request is basically OK, but there is a problem, because our current content negotiation mechanism will deliver the gzip filess with the typical Accept-encoding: gzip, deflate, br
header sent by the client. As far as I currently understand, this header (without any q-values) means the client supports all and does not prefer any.
means the client supports all and does not prefer any.
"If there is no priority defined for the first two values, the order in the list is irrelevant.", says https://developer.mozilla.org/en-US/docs/Glossary/Quality_values
See https://github.com/xp-forge/frontend/issues/21#issuecomment-822652962
When compressing both .gz and .br, runtime increased from 4.429 (for only compressing with gzip) to 10.893 seconds.