In the response header of all requests, there is a cache-control: private , and Expires that is set. I'd like to know where this is set.
I have the following setup: 1. F5 load balanced to two CentOS 6.4 servers hosting Tomcat 7.0.42.0 2. I've set an ExpiresFilter for images, css and js files. However, these types are not always cached.
There are two environments , however only 1 of the environments is showing the response header Cache-Control private, and Expires Wed, 31 Dec 1969 19:00:00 EST. The other env does not show this.
I've done a diff of the server.xml, web.xml and context.xml of Tomcat, and there are no major differences.
Googling results in some posts related to SSL config, but I cant figure what exactly the issue is.
Response header with cache-control and expires in the past:
Cache-Control private
Content-Length 0
Date Fri, 06 Mar 2015 16:08:16 GMT
Expires Wed, 31 Dec 1969 19:00:00 EST
Location https://myhost.com/mypage
Response HTTP/1.1 302 Found
Server Apache-Coyote/1.1