Since most browser use the value gzip, deflate, br as Accept-Encoding, adding deflate support makes sense, since gzip and brotli are already supported.
This PR changes the default value of COMPRESS_ALGORITHM to ['br', 'gzip', 'deflate']:
brotli should be preferred when supported, since this is the most efficient algorithm
gzip is the most widely supported, and offers similar performances compared to deflate
Since most browser use the value
gzip, deflate, br
asAccept-Encoding
, adding deflate support makes sense, since gzip and brotli are already supported. This PR changes the default value ofCOMPRESS_ALGORITHM
to['br', 'gzip', 'deflate']
: