struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-2665) Add allowCaching attribute to StreamResult
Date Mon, 01 Dec 2008 16:48:36 GMT

     [ https://issues.apache.org/struts/browse/WW-2665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Musachy Barroso resolved WW-2665.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2.x)
                   2.1.3

merged, + a test for it. Thanks for the patch!

> 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
>             Fix For: 2.1.3
>
>         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.


Mime
View raw message