title: How do I disable caching of an individual file in IIS 7 using weserver config settings
body: <p>Is there any way to diable the caching of a single javascript file in my ASP.NET applicaiton without disabling the caching of any other files in the application?</p>
  
  <p>It is running on IIS 7 in Azure, so to me it seems that my only options of controlling this are within the webserver tags.</p>
  
  <p>I currently use the folowwing config, but this is disabling cache on all files. 
       </p>
  
  <pre><code>     &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
  
      &lt;staticContent&gt;
        &lt;clientCache cacheControlMode="DisableCache"/&gt;
      &lt;/staticContent&gt;
  
    &lt;/system.webServer&gt;
  </code></pre>
  
  <p>I just want to disable cache of a single javascript file that changes quite often. </p>
  
  <p>Is it possible?</p>