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

Optimize http requests for static resources in the analysis plugins

XMLWordPrintable

      By using the firebug add-on in firefox, we can see that there are unnecessary http requests for the static resources of the analysis plugins.

      For example, for every display of https://builds.apache.org/job/Ant_Nightly/
      there are unnecessary http requests for findbugs-24x24.png and tasks-24x24.png (see "project page.png"). The browser should know that this is useless to ask.

      And for every display of https://builds.apache.org/job/Ant_Nightly/tasks
      there are unnecessary http requests for utilities.js, dispatcher-min.js, findbugs-24x24.png, tasks-24x24.png, spinner.gif and clearpixel.gif (see "tasks page.png").

      According to https://groups.google.com/forum/#!msg/jenkinsci-dev/qQf7Tuu6uiw/_WO7OBj_LIkJ
      this can be fixed by using "Jenkins.getResourcePath()" or ${resURL}.

      Firebug can be used locally to check the changes.

        1. project page.png
          22 kB
          evernat
        2. tasks page.png
          27 kB
          evernat

            drulli Ulli Hafner
            evernat evernat
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: