Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-6969

Calls to 'serverinfo' endpoint are cached by the browser

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 11.0.0, 11.0.1, 11.0.2, 11.0.3, 12.0.0, 12.0.1, 13.0.0
    • Fix Version/s: None
    • Component/s: rest, XUI
    • Labels:
    • Sprint:
      AM Sustaining Sprint 14
    • Support Ticket IDs:

      Description

      REST-calls to 'serverinfo' are cached by the browser, i.e. HTTP trace shows ...

      Request

      GET /openam/json/test/serverinfo/* HTTP/1.1
      Host: server.text.xyz:8080
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
      Accept: application/json, text/javascript, */*; q=0.01
      Accept-Language: de,de-DE;q=0.8,en;q=0.5,en-US;q=0.3
      Accept-Encoding: gzip, deflate
      Content-Type: application/json
      Accept-API-Version: protocol=1.0,resource=1.1
      X-Password: anonymous
      X-Username: anonymous
      X-NoSession: true
      X-Requested-With: XMLHttpRequest
      Referer: http://server.test.xyz:8080/openam/XUI/
      Cookie: amlbcookie=01
      Connection: keep-alive
      If-None-Match: "-1672354473"
      

      Response

      HTTP/1.1 304 Not Modified
      Cache-Control: no-cache
      Date: Mon, 28 Sep 2015 14:17:36 GMT
      Content-Type: application/json
      

      This causes issue with localisation

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major [X] (Inactive)
                Reporter:
                bthalmayr Bernhard Thalmayr
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: