0

I am requesting apis from android to get the json data . Is there a way to send the compressed json data to Android app ? Right now we are using the below code to send the data

render :json => @rules
STT LCU
  • 4,348
  • 4
  • 29
  • 47
ssnegi
  • 183
  • 1
  • 1
  • 15

1 Answers1

0

What do you mean by compressed json data? You can gzip compress your response on apache/nginx layer.

http://wiki.nginx.org/HttpGzipModule

Hoseong Hwang
  • 136
  • 1
  • 3