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

Build status icons don't refresh due to Cache-Control setting in HTTP response


    • Similar Issues:


      For our Netflix OSS projects, build status icons don't update in our GitHub pages unless we clear the browser cache. An example is at https://github.com/Netflix/RxJava

      I investigated with Michael Neale and we found that the HTTP response includes "Cache-Control:public", which is likely causing the problem. Michael verified that this problem doesn't happen with build status icons from BuildHive, because the HTTP rsponses from BuildHive don't include the Cache-Control setting.

      I looked at the plugin code to see if this was an easy fix, but it looks like the HTTP response is generated somewhere in the Stapler code, which I didn't want to mess with


          Issue Links


            garethbowles garethbowles created issue -
            scm_issue_link SCM/JIRA link daemon made changes -
            Field Original Value New Value
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            mgedmin Marius Gedminas made changes -
            Link This issue is duplicated by JENKINS-22875 [ JENKINS-22875 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 147859 ] JNJira + In-Review [ 192613 ]
            thomas_dee Thomas Döring made changes -
            Status Resolved [ 5 ] Closed [ 6 ]


              • Assignee:
                kohsuke Kohsuke Kawaguchi
                garethbowles garethbowles
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: