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

Avoid browser caching for AJAX requests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      AJAX calls are cached by Internet Explorer by default (when no specific Cache-Control header is in the response). This makes <l:ajax> jelly to behave mistakenly on IE.

      Asynchronous HTTP calls are usually used to load dynamic data so caching it does not make sense.

      This change was already applied in the more general layout.jelly (commit).

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: amuniz
            Path:
            core/src/main/resources/lib/layout/ajax.jelly
            http://jenkins-ci.org/commit/jenkins/d05fcdecf2d49d25a46e6974b0340057301d10b0
            Log:
            JENKINS-43929 Specific cache control header on ajax.jelly

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: amuniz Path: core/src/main/resources/lib/layout/ajax.jelly http://jenkins-ci.org/commit/jenkins/d05fcdecf2d49d25a46e6974b0340057301d10b0 Log: JENKINS-43929 Specific cache control header on ajax.jelly
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/resources/lib/layout/ajax.jelly
            http://jenkins-ci.org/commit/jenkins/43b06d5a262c28232e5c38ffd16b94c1bfdb1499
            Log:
            Merge pull request #2861 from amuniz/JENKINS-43929

            JENKINS-43929 Specific cache control header on ajax.jelly

            Compare: https://github.com/jenkinsci/jenkins/compare/c362bfc8c743...43b06d5a262c

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/lib/layout/ajax.jelly http://jenkins-ci.org/commit/jenkins/43b06d5a262c28232e5c38ffd16b94c1bfdb1499 Log: Merge pull request #2861 from amuniz/ JENKINS-43929 JENKINS-43929 Specific cache control header on ajax.jelly Compare: https://github.com/jenkinsci/jenkins/compare/c362bfc8c743...43b06d5a262c
            Hide
            danielbeck Daniel Beck added a comment -

            Fixed in 2.59 (to be released within a day or so).

            Show
            danielbeck Daniel Beck added a comment - Fixed in 2.59 (to be released within a day or so).

              People

              • Assignee:
                amuniz Antonio Muñiz
                Reporter:
                amuniz Antonio Muñiz
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: