flask does not see change in .js file : <p>I made a change on one of the <code>.js</code> files that I use and no matter what I do, flask insists on picking up, from memory cache, the last version of the file, without the change.</p>

<p>To clarify, I have the following structure. It all starts with <code>foo.html</code></p>

<pre><code>return render_template foo.html
</code></pre>

<p><code>foo.html</code> has a form inside that  calls flask with some data and then returns a second template <code>bar.html</code>:</p>

<pre><code>return render_template bar.html
</code></pre>

<p>This second template calls some <code>.js</code> file, placed in the <code>static</code> folder, but it doesn't update when the code changes.</p>

<p>I mention the structure above because if the <code>.js</code> file was placed on <code>foo.html</code> instead of <code>bar.html</code> then Flask <strong>would</strong> pick up the new changes on the file. But in <code>bar.html</code> Flask completely ignores them.</p>

<p>What is happening? </p>

<p>The only thing that worked was to click on "disable cache" on the browser and reload again.</p>
