title: What is setting Cache-Control no-cache, no-store in my deployment?
body: <p>I have an issue that my application deployment always returns response headers with:</p>
  
  <pre><code>Cache-Control: no-cache
  Cache-Control: no-store
  Expires:Thu, 01 Jan 1970 00:00:00 GMT
  Pragma:no-cache
  </code></pre>
  
  <p><br/><br/>
  I'm using:</p>
  
  <p>Spring 3.1.2.RELEASE</p>
  
  <p>Primefaces JSF 3.4.1</p>
  
  <p>Spring Webflow 2.3.0.RELEASE</p>
  
  <p>JBoss AS 7.0.1</p>
  
  <p><br/>
  <br/>
  I've tried nearly every solution on the application side I could find: </p>
  
  <ol>
  <li>Configuring the WebContentInterceptor (tried various permutations of it) <a href="https://stackoverflow.com/questions/3234907/right-out-of-the-box-cache-control-header-filter">Right out of the box cache-control header filter?</a></li>
  <li>Writing a custom interceptor that adds different Cache-Control header (tested with Cache-Control: private)</li>
  <li>Writing a customer filter that adds HTTP response parameters. Configure it with Cache-Control: private as init-params in web.xml</li>
  <li>Use the context.xml file (tried both in META-INF/ and WEB-INF/) to disable the Cache-Control in JBoss/Tomcat <a href="http://daveharris.wordpress.com/2007/07/09/how-to-configure-cache-control-in-tomcat/" rel="nofollow noreferrer">http://daveharris.wordpress.com/2007/07/09/how-to-configure-cache-control-in-tomcat/</a></li>
  </ol>
  
  <p>In all of the above cases, the response headers never ended up different, always no-cache, no-store, 1970 expires, pragma: no-cache</p>
  
  <p>I'm running out of ideas, does anyone know what is setting these headers in my response so I can target the appropriate deployment component to resolve this?</p>