title: How to set Expires HTTP header on a single JS file in Apache Tomcat?
body: <p>I have a <code>js</code> file which is cached between 5-10 minutes, depending on whether I'm using tomcat from the eclipse (via GWT plugin) or starting tomcat as standalone.<br>
  This is strange as I'm using <code>GWT</code> as my framework and this file should not be cached at all (it's a nocache.js file to those of you who know GWT).
  I've read on a <a href="http://groups.google.com/group/google-web-toolkit/browse_thread/thread/5943c8150ade38c7" rel="nofollow noreferrer">GWT Google group thread</a> that it's a container configuration issue, and somewhere else that it's something I need to define in the containing HTML file.<br>
  Basically, I'm confused right now as I have no clue on how to get this file to not cache.
  Please note that this js is generated by <code>GWT</code> and I cannot modify it.</p>
  
  <p>Thanks for any help,
  Ittai
  <img src="https://i.stack.imgur.com/9MKl6.jpg" alt="alt text">
  <img src="https://i.stack.imgur.com/tngmz.jpg" alt="alt text"></p>