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

REST API responses are cached in IE 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • guacamole
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: