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

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

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: