I have an application running behind a proxy, both on the same machine. Which approach is more suited regarding compression, while preserving reasonable performance.
- turn on compression at the application level (which happens to be in nodejs)
- leave it out to the proxy (which is nginx)