title: Reset form and clear cache after submit
body: <p>Most browsers cache form values, so when the user navigates to another page and then presses the back button doesn't have to start over again.</p>
  
  <p>With the <a href="http://jquery.malsup.com" rel="nofollow noreferrer">jquery form plugin</a> this also happens after the form has been submitted successfully. </p>
  
  <p>The following scenario:</p>
  
  <ol>
  <li><p>user submits form</p></li>
  <li><p>message is shown that submission was successful and form is cleared</p></li>
  <li><p>user navigates to some other page</p></li>
  <li><p>user presses the back button</p></li>
  <li><p>page is restored to the state before the form was submitted.</p></li>
  </ol>
  
  <p>Calling resetForm() after submit only brings back the initial form values but doesn't solve the cache issue.</p>
  
  <pre><code>$(document).ready(function(){
      $('form').ajaxForm({
          success: function(responseText, statusText){
              displayMessage('form successful');
              $('form').resetForm();
          }
      });
  });
  </code></pre>
  
  <p>Calling resetForm() when the page is loaded solves the cache issue but breaks the expected browser behavior when navigating between pages:</p>
  
  <pre><code>$(document).ready(function(){
      $('form').ajaxForm().resetForm();
  });
  </code></pre>
  
  <p>Is there a way to clear the cache after a successful submit?</p>