Menus and Gadgets Cached Incorrectly by Internet Explorer 8 When Accessing JIRA Through Apache Over SSL
Symptom
Some JIRA Gadgets and menu sections are inappropriately cached by IE8 when accessing JIRA through Apache over SSL.
Typically, the Current Project
/ Recent Projects
/ Recent Issues
menu sections never get refreshed correctly in JIRA until opening a new browser window.
Diagnosis
Since those menu sections are refreshed by AJAX requests when catching the AJAX request header, we see that the protocol HTTP/1.0 instead of HTTP/1.1 is being used.
Cause
The problem is that JIRA's AJAX requests do have set Cache-Control: no-cache, no-store, no-transform
in the header. Cache-Control
only works for HTTP/1.1
, and doesn't work for HTTP/1.0
. We may see this problem when JIRA users include httpd-ssl.conf
in httpd.conf
, which is shipped with Internet Explorer.
Although Apache has reason to downgrade HTTP requests to 1.0 for SSL, we know that many JIRA customers run Apache over SSL without that setting enabled.
Resolution
Since IE8 uses an agressive cache mechanism, it needs the AJAX requests to specify no-cache
setting in request header.
Comment out downgrade-1.0 force-response-1.0
in httpd-ssl.conf
and reboot Apache to require HTTP/1.1
.