Uploaded image for project: 'Shale'
  1. Shale
  2. SHALE-140

Remoting should set cache-disabling headers on dynamic calls

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • TBD
    • Remoting
    • None
    • Operating System: other
      Platform: Other
    • 39191

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            craigmcc Craig R. McClanahan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: