Environment: Linux, Tomcat 7.0.27, Liferay 6.1.1 CE GA2
Sigh, there's always something with IE.
Our users have reported that they cannot download files with IE8. Since our site uses
https throughout, the issue seems to be related to
this old forum post. IE8 says that ".. the file cannot be written to cache..." or something similar.
As always, there's no problem with Chrome, Firefox, Safari etc. Even Internet Explorer 9 works
Something has changed from Liferay 6.1.0 CE GA, the headers served are:
Liferay 6.1.0 CE GA1:Cache-Control:publicConnection:Keep-Alive
Content-Disposition:attachment; filename="filename.doc"
Content-Length:55808
Content-Type:application/msword
Date:Thu, 23 Aug 2012 12:40:00 GMT
Keep-Alive:timeout=15, max=70
Last-Modified:Tue, 21 Feb 2012 14:35:56 GMT
Pragma:publicLiferay 6.1.1 CE GA2:Cache-Control:privateConnection:Keep-Alive
Content-Disposition:attachment; filename="filename.doc"
Content-Length:137216
Content-Type:application/msword
Date:Thu, 23 Aug 2012 11:41:15 GMT
Keep-Alive:timeout=15, max=100
Last-Modified:Thu, 23 Aug 2012 11:32:55 GMT
Pragma:no-cacheIs this related to Liferay or Tomcat? How do I change the Cache-Control and Pragma headers?
Already tried adding valves to tomcat/conf/context.xml as described
here but made no difference.
Please advice
Regards Thomas
Please sign in to flag this as inappropriate.