Danrancan commented on issue #1692: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1692#issuecomment-1065956770
> Also can't find any mentions of [brotli](https://github.com/google/brotli) / brotli_static. @Lofesa mentioned and did some explanation of how to get brotli working in nginx with the PS module in [this post](https://github.com/apache/incubator-pagespeed-ngx/issues/1746#issuecomment-1056530317). @Lofesa >About your config: >`pagespeed HttpCacheCompressionLevel 9;` >This line makes pagespeed to store optimized resources gziped, and serve it as gzip. To serve it with brotli compression you need to set it to 0, then optimized resources are stored w/o compression and brotli compress it on the fly. So it sounds like to get brotli working, you just need to disable gzip in your pagespeed configuration with `pagespeed HttpCacheCompressionLevel 0;` -- 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. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org