title: Overriding rails Cache-Control header on redirect
body: <p>Whether I do:</p>
  
  <pre><code>head 302
  </code></pre>
  
  <p>or</p>
  
  <pre><code>head 307
  </code></pre>
  
  <p>or </p>
  
  <pre><code>redirect_to
  </code></pre>
  
  <p>calls in the same controller action to      </p>
  
  <pre><code>response.headers['Cache-Control'] = "public, max-age=86400"
  </code></pre>
  
  <p>have no effect.  Rails sends: </p>
  
  <pre><code>Cache-Control: no-cache
  </code></pre>
  
  <p>no matter what.  I need to send the Cache-Control header to instruct an edge cache to serve the redirect for a day.  Is this possible?</p>