Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-783

REST API responses are cached in IE 11

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: guacamole
    • Labels:
      None

      Description

      When using IE 11, changes made via the Apache Guacamole admin interface, such as creating or renaming connections, appear to not take effect until after logging out and back in. This is actually due to IE caching the results of the GET requests from the relevant REST API endpoints.

      This behavior does not occur in Chrome nor in Firefox and appears to be due to a bug in IE 11's handling of the HTTP cache. Implementations are required to invalidate cached responses for a URI once a PUT, DELETE, or POST request is sent to that same URI:

      https://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.10

      Adding Cache-Control: no-cache and Pragma: no-cache to requests sent via $http solves the issue.

        Attachments

          Activity

            People

            • Assignee:
              mjumper Mike Jumper
              Reporter:
              mjumper Mike Jumper
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: