title: gzipping json response from grails controller
body: <p>I have a few really huge json responses being sent to the client browser, and I'm trying to figure out how to compress them. I've tried using the ui-performance plugin as described in an answer to this question:
  <a href="https://stackoverflow.com/questions/17309909/how-to-compress-output-from-a-grails-controller">How to compress output from a grails controller?</a></p>
  
  <p>But it didn't work. My json file still is of the same size (~40MB)
  I've also tried using the yui-minify resources plugin, but to no avail. How else can I do this?
  Also, is it advisable to send such a huge json file to the browser? (A certain drop down selection on the front end lets the browser request a json response of this size each time the user selects an option)</p>
  
  <p>Thanks!</p>