Node has all the tools needed to implement gzip streams per request [[ https://nodejs.org/api/zlib.html ]] however, it is very CPU intensive and the node docs themselves warn you not to do this within node. Something like NGINX is far better suited to this task, as it is threaded and can fan out the CPU demands of gzip compression. I would recommend you run both actionhero and ngixn on each 'web' server you have. However, if enough folks want this in the core, we can have a disabled-by-default option for it. |