[
https://issues.apache.org/jira/browse/WICKET-5372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778543#comment-13778543
]
Martin Grigorov commented on WICKET-5372:
-----------------------------------------
I am not sure the framework should do anything here.
It looks like yet another quirk in IE.
If caching should be disabled for all resources in all browsers when HTTPS is
used then we can improve Wicket. But since this is some not documented behavior
of IE 8 I think the application should do whatever is needed only when it is
needed.
> Cache Disable Headers Break IE8 Under HTTPS
> -------------------------------------------
>
> Key: WICKET-5372
> URL: https://issues.apache.org/jira/browse/WICKET-5372
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.9.0
> Reporter: Brandon Fuller
> Priority: Minor
>
> I am serving up a non-cached PDF resource from Wicket with:
> getRequestCycle().scheduleRequestHandlerAfterCurrent(new
> ResourceRequestHandler(pdfResource, null));
> All is fine for most users. However, our IE8 users cannot perform the
> download. The get a dialog saying that the resource cannot be downloaded. I
> did some testing and found that it works fine over HTTP but not HTTPS.
> I found this stack overflow article that explains:
> http://stackoverflow.com/questions/1038707/cant-display-pdf-from-https-in-ie-8-on-64-bit-vista
> I see in WebResponse that Wicket is setting the Cache-Control and Pragma
> values incorrectly as far as IE8 is concerned. This explains the behavior.
> To prove, I changed the resource in wicket to have a cache duration of one
> second and the resource downloads over SSL just fine. Not the worst
> workaround but I was hoping this could be addressed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira