Details
-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: checkstyle-plugin, findbugs-plugin, pmd-plugin, tasks-plugin, warnings-plugin
-
Labels:
-
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 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.
Attachments
Issue Links
- is related to
-
JENKINS-16572 Optimize http requests for static resources in the disk usage plugin
-
- Resolved
-
Integrated in
Jenkins Analysis Plug-ins (Compile) #609
JENKINS-16571Prefix all static icon URLs with RESOURCE_PREFIX. (Revision 5c7bcfb3959873569d545c3adbcf682791af4a95)[FIXED JENKINS-16571] Use ${resUrl} for static icon URLs. (Revision 2be77cf07e08012b3574c64839d5c96244c914cc)
Result = SUCCESS