opened 07:09PM - 08 Jun 20 UTC
Documentation is at the moment a bit sparse on [nginx gzip](https://nginx.org/en…/docs/http/ngx_http_gzip_module.html). Specifically nginx [gzip_static](https://nginx.org/en/docs/http/ngx_http_gzip_static_module.html#gzip_static).
It is my understanding that gzip_static cannot be easily used in conjunction with nginx pagespeed. Source: testing myself and [this blog post](https://www.getpagespeed.com/server-setup/varnish-ssl-brotli-gzip-pagespeed-putting-things-together).
I guess the way the architecture works is that nginx pagespeed needs/fetches the resource without compression, optimizes it and then adds its own dynamic gzip compression? The gzip compression might even be static once nginx pagespeed has cached the resource?
Perhaps worth mentioning in pagespeed documentation that [gzip_static](https://nginx.org/en/docs/http/ngx_http_gzip_static_module.html#gzip_static) is not worth bothering with when using nginx pagespeed?
[This blog post](https://www.getpagespeed.com/server-setup/varnish-ssl-brotli-gzip-pagespeed-putting-things-together) indicates that it's possible to get quasi gzip static. Perhaps you could shed some light on that?
Also can't find any mentions of [brotli](https://github.com/google/brotli) / brotli_static.
related google search terms:
> site:https://www.modpagespeed.com gzip
> site:https://www.modpagespeed.com gzip_static
> site:https://www.modpagespeed.com brotli
> site:https://www.modpagespeed.com brotli_static