title: Heroku: Compiled Slug Size is too large
body: <p>I've already spent half the day trying to debug a Heroku error where I can't push code to my staging server because of a slug compilation error:</p>
  
  <pre><code>Compiled slug size: 320.5MB is too large (max is 300MB).
  </code></pre>
  
  <p>I've moved all assets to AWS3 and created a .slugignore file with the following information:</p>
  
  <pre><code>*.psd
  *.pdf
  test
  spec
  features
  doc
  public
  </code></pre>
  
  <p>What other strategies can I use?  The strangest thing is that, as far as I know, the code is the same as the production server, and I don't get any errors with pushing to the production server.</p>