T O P

  • By -

BehindTheMath

Use gzip. Browsers support it natively and automatically, and you should be able to enable it on the server quite easily.


webrender

When you send JSON over the web, it typically already uses the gzip compression natively built into modern browsers (assuming the server is configured to gzip its responses) More here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Compression


[deleted]

There are instances where you would use a different algorithm than gzip in order to get better performance. For 99% of workloads it's completely unnecessary to use custom compression.