title: Http 1.1 Headers configuration in ASP.NET Application
body: <p>I have small issue here. this is how my web.config looks like:</p>
  
  <pre><code>&lt;add name="Cache-Control" value="no-cache, no-store, must-revalidate, private" /&gt;
  &lt;add name="Pragma" value="no-cache" /&gt;
  </code></pre>
  
  <p>But when I checked ZAP tool I had something like this:</p>
  
  <pre><code>Cache-Control: no-cache,no-cache, no-store, must-revalidate, private
  Pragma: no-cache,no-cache
  </code></pre>
  
  <p>So the value in pragma is duplicated, also in some responses Cache-Control had  "public" at the beginning like:</p>
  
  <pre><code>Cache-Control: public, no-cache, no-cache, no-store, must-revalidate, private
  </code></pre>
  
  <p>Is there any way to set only headers from my web.config?</p>
  
  <p>Another question is that is there any way to set headers in main response but disable them in when the response is .css and .js file? I want them to be cacheed. </p>