I find myself considering whether it would be beneficial to use compression when sending medium sized arrays, containing small strings and numbers, from nodejs with socket.io to clients. The arrays are less than 1 MB in size. Would the time spent compressing them outweigh the potential speed benefits, or would it still be worth it in the long run?
At the moment, I haven't noticed any latency issues, but it's possible that some users may have slower internet connections or older devices.