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 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.