current process seems like this:
- create plain response in memory
- check if response should be compressed
- compress the memory response
instead, it would be desirable to do
- check if response should be compressed
- create zip stream based on the memory stream
- save the output into the zipped stream
This would save the memory, especially when there are huge output
Thanks,
jerry