title: Enabling compression on Heroku using python
body: <p>Google now penalizes due to not being so mobile friendly. So in an effort to make things better, it recommends I compress a lot of my Javascript with Gzip or Deflate. I've seen some old recommendations on stack overflow, but there is nothing out of the box and I tried searching for add-ons, but as yet there doesn't appear to be anything that would do the trick. What is the least painful and robust of compressing or enabling gzip?</p>
  
  <p>Here is what Google suggests I do: </p>
  
  <p>Enable compression
  Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.
  Enable compression for the following resources to reduce their transfer size by 420KiB (74% reduction).</p>
  
  <p>I'm using Django if that makes it any easier.</p>