struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Sutton (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-2665) Add allowCaching attribute to StreamResult
Date Tue, 03 Jun 2008 15:29:05 GMT
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.


Mime
View raw message