Sir-Will commented on issue #1148:
URL:
https://github.com/apache/incubator-pagespeed-mod/issues/1148#issuecomment-829872645
I'm using the recommended settings:
```
brotli on;
brotli_comp_level 6;
brotli_static on;
brotli_types application/atom+xml application/javascript application/json
application/rss+xml
application/vnd.ms-fontobject application/x-font-opentype
application/x-font-truetype
application/x-font-ttf application/x-javascript
application/xhtml+xml application/xml
font/eot font/opentype font/otf font/truetype image/svg+xml
image/vnd.microsoft.icon
image/x-icon image/x-win-bitmap text/css text/javascript
text/plain text/xml;
```
I was also unable to set the `Cache-Control` header via `add_header` and
`more_set_headers` for js files when pagespeed is enabled with only the image
filter active.
ngx_pagespeed seems to completely break/prevent header modifications from
other modules or settings in the nginx config.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]