[ https://issues.apache.org/struts/browse/WW-2665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Al Sutton updated WW-2665: -------------------------- Attachment: allowCaching_on_streams.patch This time I'll click the right button for ASF use. > Add allowCaching attribute to StreamResult > ------------------------------------------ > > Key: WW-2665 > URL: https://issues.apache.org/struts/browse/WW-2665 > Project: Struts 2 > Issue Type: Improvement > Components: Dispatch Filter > Reporter: Al Sutton > Attachments: allowCaching_on_streams.patch, > allowCaching_on_streams.patch > > > The attached patch adds the attribute "allowCaching" to results that use > StreamResult. The allowCaching attributes lets developers configure whether > or not the stream result should be cached. > If set to true (which is the default) the result can be cached by any > downstream proxy or the client, if set to false the following headers are > added to the response in order to discourage caching by proxies and clients; > Pragma: no-cache > Cache-Control: no-cache -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.