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

Optimize http requests for static resources in the disk usage plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            evernat evernat added a comment -

            I have just seen JENKINS-16530.
            Would it better with that?

            Show
            evernat evernat added a comment - I have just seen JENKINS-16530 . Would it better with that?
            Hide
            jglick Jesse Glick added a comment -

            @evernat the fix JENKINS-16530 may or may not help here; I think it would help for DiskUsageRootLink (check it using a Jenkins dev build). For DiskUsageManagementLink I think there is no problem since Jenkins/manage.jelly has long used resURL.

            0a805e7 also was an earlier improvement.

            Show
            jglick Jesse Glick added a comment - @evernat the fix JENKINS-16530 may or may not help here; I think it would help for DiskUsageRootLink (check it using a Jenkins dev build). For DiskUsageManagementLink I think there is no problem since Jenkins/manage.jelly has long used resURL . 0a805e7 also was an earlier improvement.
            Hide
            evernat evernat added a comment -

            After tests with Jenkins v1.502, this issue was fixed by JENKINS-16530.
            So resolving as fixed.

            Show
            evernat evernat added a comment - After tests with Jenkins v1.502, this issue was fixed by JENKINS-16530 . So resolving as fixed.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: