title: What is a good strategy for guaranteeing resource reloads (via ajax) during development?
body: <p>I've consistently not been able to find a way to reload data to the browser.</p>
  
  <p>For example in FF 10 - Hitting Control-Shift-R is suppose to do this.  Sometimes it does, some times it does not.</p>
  
  <p>I've read that if you change the URL of the requested resource the browser will re-load the data as new.  I believe this.  I'm going to implement it.</p>
  
  <p>What I'm going to do is simply us PHP to change the file name by appending a unix time-stamp to it.  This will be done on each resource request.</p>
  
  <p>I'm planning on writing a PHP maintenance script ( say updateResource.php ) that renames the resource and at the same time writes PHP code that sets the name into the PHP script.</p>
  
  <p>so for my .js resource</p>
  
  <pre><code>file1.js 
  </code></pre>
  
  <p>becomes</p>
  
  <pre><code>file1_timestamp.js
  </code></pre>
  
  <p>and </p>
  
  <p>the contents of php file go from</p>
  
  <pre><code>$file_name = file1.js
  
  $file_name = file1_timestamp.js
  </code></pre>
  
  <p>PHP later writes to .htm file which javascript then knows to pull from the DOM and load the file dynamically via Ajax Call.</p>
  
  <p>And this time it is not cached b.c. the URL changed.</p>
  
  <p>Is this a good way to guarantee reloads?</p>