We have an application that requests location for a client. We get to the point where some customers can have more than 10,000 seats. The JSON response for this can be quite large, sometimes more than 1 MB.
I first wonder how best to squeeze it. We have apache in front of the Rails app running in trinidad with JRuby. Can I just set mod_deflate to always compress any responses that are application / json? How can i do this?
Further, what is gzip'd json browser support? When I gzip a 200k response sample, it drops to 30k. This is a significant savings. We really would like to minimize the size of this answer without minimizing the number of places returned.
source
share