-
Notifications
You must be signed in to change notification settings - Fork 28
Description
For some reason I need to remove Brazilian language from mime.conf when using brotli.so with php-fpm so it doesn't get send as content-language br
When I have in my mime.conf:
AddLanguage .br
And add br compression for .css to Drupal, I get the following response headers for the aggregated .css (and only the headers that are aggregated by php in Drupal):
accept-ranges: bytes
cache-control: max-age=31449600, no-transform, public, immutable
content-encoding: br
content-language: br
content-length: 1891
content-type: text/css
date: Fri, 26 Oct 2018 11:50:11 GMT
expires: Fri, 25 Oct 2019 11:50:11 GMT
last-modified: Fri, 26 Oct 2018 11:45:05 GMT
server: Apache
status: 200
vary: Accept-Encoding
when I add RemoveLanguage br to mime.config, the content-language header field disappears.
The encoding works however it doesn't seem to make sense to have a content-language br for css files just because I deliver brotli.