You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2006/04/04 01:00:34 UTC

DO NOT REPLY [Bug 39191] New: - [shale] Remoting should set cache-disabling headers on dynamic calls

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39191>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39191

           Summary: [shale] Remoting should set cache-disabling headers on
                    dynamic calls
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Shale
        AssignedTo: dev@struts.apache.org
        ReportedBy: craig.mcclanahan@sun.com


Currently, Shale Remoting's support for dynamic calls (mapped to a method
binding expression) expressly skip setting a Date header on the corresponding
response.  In theory, this should avoid the browser caching previous responses
for the same URL -- but apparently some versions of IE do this caching anyway.

Suggestion is to have the Processor for dynamic responses emit the same headers
that Struts 1.x does when "no-cache" support is requested:

    Pragma:  No-Cache
    Cache-Control: no-cache,no-store,max-age-0
    Expires: <<<date for the long value 1>>>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org