title: My system.webServer > staticContent > clientCache element obstructs serving CSS, JavaScript, and Images
body: <p>I have this system.webServer section. When I add the <strong>clientCache</strong> line, the web server stops serving JavaScript, CSS, and images. When I remove the clientCache line, it again starts serving them. What is wrong with my clientCache element?</p>
  
  <p>This problem occurs both in the Visual Studio development server and when I push the Website to Azure.</p>
  
  <pre><code>&lt;system.webServer&gt;
      &lt;staticContent&gt;
        &lt;clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="86400"/&gt;
      &lt;/staticContent&gt;
      &lt;!--Handlers removed for clarity--&gt;
  &lt;/system.webServer&gt;
  </code></pre>