title: Are Django redirect responses cached by default?
body: <p>I have a url shortener and this is the view:</p>
  <pre><code>def reroute(request, shorthand, parameter=None):
      ....
      #constructs url
      url = ...
      return HttpResponsePermanentRedirect(url)
  </code></pre>
  <p>Basically I take in a url <code>http://localhost:8000/silly-big-cat</code> and route that to whatever the user supplied when this was created. The behavior that I started to notice was that the browser would hit the server once, if I went to that link again the browser somehow remembers where it was redirected last time and I see no indication of it hitting the server. Is the browser somehow caching this? If this is the case, is there a way to prevent this caching from happening? silly-big-cat's URL might change in the future but the browser may still be stuck with the old URL.</p>