title: JSP page cached even after providing cache parameters
body: <p>The project is running on Spring framework and the Handler class which the request is handled extends MultiActionController.</p>
  
  <p>I added the following code to set the Cache-Control params in Response Header.</p>
  
  <pre><code>httpServletResponse.addHeader("Cache-Control", "no-cache, no-store, must- revalidate,max-age=0,private,pre-check=0,post-check=0"); 
  httpServletResponse.addHeader("Pragma", "no-cache"); 
  httpServletResponse.addDateHeader("Expires", -1); 
  </code></pre>
  
  <p>Even ,in the JSP page,i included the following lines:</p>
  
  <pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&gt;
  &lt;meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /&gt;
  &lt;meta http-equiv="Cache-Control" content="max-age=0" /&gt;
  &lt;meta http-equiv="Cache-Control" content="must-revalidate" /&gt;
  &lt;meta http-equiv="Cache-Control" content="private" /&gt;
  &lt;meta http-equiv="Cache-Control" content="pre-check=0" /&gt;
  &lt;meta http-equiv="Cache-Control" content="post-check=0" /&gt;
  &lt;meta http-equiv="Pragma" content="no-cache" /&gt;
  &lt;meta http-equiv="Expires" content="-1" /&gt;
  </code></pre>
  
  <p>When i debug the page on fire fox using Firebug,the response header is being shown as below:</p>
  
  <p><img src="https://i.stack.imgur.com/hb7sS.jpg" alt="enter image description here"></p>
  
  <p>and the cache tab as below:</p>
  
  <p><img src="https://i.stack.imgur.com/gqEPj.jpg" alt="enter image description here"></p>
  
  <p>This case is happening only with one page,remaining pages are not getting cached.What is the reason for this?Please help me to sort it out.</p>