Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43848

new item categories served without cache expiration

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      SInce the introduction of the revamped "new Item" page the list of items that can be populated via an XMLHttpRequest.

      However this is a bad thing to do as the list should not be considered static.

      OSS can add to the list if a plugin is installed.
      Third party extensions can contribute items (and even remove items from the list) dynamically.

      This causes a big issue with IE as by default IE legitimatley caches the responses of an XMLHttpRequest unless told otherwise.

      Workaround is to force a reload after cleaning the cache - but this is bad UX.

      NOTE: there are probably other places in jenkins core that handle XMLHttpRequest requests that are not adding correct cache control headers - this should probably be investigated too.

      Found with IE 11 on windows 10 but likely affects all versions of IE 11 and possibly (but untested Edge)

      Steps to reproduce:

      • Load the New Item page in your IE11 browser
      • Install a new plugin which provides a new Item type
      • Navigate to the new Item page again in your browser

      Observed Behavior:

      • You will not see the new item listed

      Expected Behavior:

      • The new item should show up in the list without a special action or refresh by the user

        Attachments

          Activity

          teilo James Nord created issue -
          teilo James Nord made changes -
          Field Original Value New Value
          Description SInce the introduction of the revamped "new Item" page the list of items that can be populated via an {{XMLHttpRequest}}.

          However this is a bad thing to do as the list should not be considered static.

          OSS can add to the list if a plugin is installed.
          Third party extensions can contribute items (and even remove items from the list) dynamically.

          This causes a big issue with IE as by default IE legitimatley caches the responses of an {{XMLHttpRequest}} unless told otherwise.

          Workaround is to force a reload after cleaning the cache - but this is bad UX.

          NOTE: there are probably other places in jenkins core that handle {{XMLHttpRequest}} requests that are not adding correct cache control headers - this should probably be investigated too.
          SInce the introduction of the revamped "new Item" page the list of items that can be populated via an {{XMLHttpRequest}}.

          However this is a bad thing to do as the list should not be considered static.

          OSS can add to the list if a plugin is installed.
          Third party extensions can contribute items (and even remove items from the list) dynamically.

          This causes a big issue with IE as by default IE legitimatley caches the responses of an {{XMLHttpRequest}} unless told otherwise.

          Workaround is to force a reload after cleaning the cache - but this is bad UX.

          NOTE: there are probably other places in jenkins core that handle {{XMLHttpRequest}} requests that are not adding correct cache control headers - this should probably be investigated too.

          Found with IE 11 on windows 10 but likely affects all versions of IE 11 and possibly (but untested Edge)
          teilo James Nord made changes -
          Labels UX http regression
          oleg_nenashev Oleg Nenashev made changes -
          Environment Jenkins 2.0+
          recena Manuel Recena Soto made changes -
          Assignee Manuel Recena Soto [ recena ]
          recena Manuel Recena Soto made changes -
          Labels UX http regression regression
          recampbell Ryan Campbell made changes -
          Description SInce the introduction of the revamped "new Item" page the list of items that can be populated via an {{XMLHttpRequest}}.

          However this is a bad thing to do as the list should not be considered static.

          OSS can add to the list if a plugin is installed.
          Third party extensions can contribute items (and even remove items from the list) dynamically.

          This causes a big issue with IE as by default IE legitimatley caches the responses of an {{XMLHttpRequest}} unless told otherwise.

          Workaround is to force a reload after cleaning the cache - but this is bad UX.

          NOTE: there are probably other places in jenkins core that handle {{XMLHttpRequest}} requests that are not adding correct cache control headers - this should probably be investigated too.

          Found with IE 11 on windows 10 but likely affects all versions of IE 11 and possibly (but untested Edge)
          SInce the introduction of the revamped "new Item" page the list of items that can be populated via an {{XMLHttpRequest}}.

          However this is a bad thing to do as the list should not be considered static.

          OSS can add to the list if a plugin is installed.
          Third party extensions can contribute items (and even remove items from the list) dynamically.

          This causes a big issue with IE as by default IE legitimatley caches the responses of an {{XMLHttpRequest}} unless told otherwise.

          Workaround is to force a reload after cleaning the cache - but this is bad UX.

          NOTE: there are probably other places in jenkins core that handle {{XMLHttpRequest}} requests that are not adding correct cache control headers - this should probably be investigated too.

          Found with IE 11 on windows 10 but likely affects all versions of IE 11 and possibly (but untested Edge)

          Steps to reproduce:
          * Load the New Item page in your IE11 browser
          * Install a new plugin which provides a new Item type
          * Navigate to the new Item page again in your browser
          *

          Observed Behavior:
          * You will not see the new item listed

          Expected Behavior:
          * The new item should show up in the list without a special action or refresh by the user
          oleg_nenashev Oleg Nenashev made changes -
          Assignee Manuel Recena Soto [ recena ] Josiah Haswell [ jhaswell ]
          oleg_nenashev Oleg Nenashev made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          recampbell Ryan Campbell made changes -
          Remote Link This issue links to "jenkins#2973 (Web Link)" [ 17433 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels regression lts-candidate regression
          olivergondza Oliver Gond┼ża made changes -
          Labels lts-candidate regression 2.73.1-fixed regression
          jamesdumay James Dumay made changes -
          Remote Link This issue links to "CloudBees Internal OSS-2307 (Web Link)" [ 18349 ]
          jamesdumay James Dumay made changes -
          Remote Link This issue links to "CloudBees Internal OSS-2208 (Web Link)" [ 18389 ]

            People

            Assignee:
            jhaswell Josiah Haswell
            Reporter:
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: