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

Optimize http requests for static resources in the disk usage plugin

XMLWordPrintable

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

      For example, for every display of the home page https://builds.apache.org/
      there is unnecessary http request for diskusage48.png (see "jenkins home page.png"). The browser should know that this is useless to ask.

      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.

            vjuranek vjuranek
            evernat evernat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: