title: IE 11 ignoring Cache Control header in response
body: <p>I am setting Expires filter in web.xml of Tomcat. The header comes correctly in response but still IE is not caching. It is always making the fresh request to Tomcat.</p>
  
  <pre><code>&lt;filter&gt;
  &lt;filter-name&gt;ExpiresFilter&lt;/filter-name&gt;
  &lt;filter-class&gt;org.apache.catalina.filters.ExpiresFilter&lt;/filter-class&gt;
  &lt;init-param&gt;
  &lt;param-name&gt;ExpiresByType image/png&lt;/param-name&gt;
  &lt;param-value&gt;access plus 2 hours&lt;/param-value&gt;
  &lt;/init-param&gt;
  
  &lt;/filter&gt;
  &lt;filter-mapping&gt;
          &lt;filter-name&gt;ExpiresFilter&lt;/filter-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
          &lt;dispatcher&gt;REQUEST&lt;/dispatcher&gt;
  &lt;/filter-mapping&gt;
  </code></pre>
  
  <p>Below are the headers from respone</p>
  
  <p>Cache-Control:  max-age=7199</p>
  
  <p>Expires:    Mon, 14 Nov 2016 16:08:22 GMT</p>
  
  <p>Content-Type:   image/png</p>
  
  <p>Transfer-Encoding:  chunked</p>
  
  <p>Date:   Mon, 14 Nov 2016 14:08:22 GMT</p>
  
  <p>Does anyone know, what am I missing here?</p>