Optimize http requests for static resources in the analysis plugins

This issue is archived. You can view it, but you can't modify it. Learn more

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.

            Assignee:
            Ulli Hafner
            Reporter:
            evernat
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: