1. 2
  1.  

  2. 5

    Why would you gzip in the app when you can gzip in the reverse proxy?

    Nginx can not only do gzip but brotli too, which is widely supported in browsers already, and provides even better compression.