Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Won't Fix
-
Component/s: blueocean-plugin
-
Labels:None
-
Environment:dogfood server - ci.blueocean.io
-
Similar Issues:
-
Epic Link:
Description
Overview
There are 1113 lines of Javascript code being duplicated into multiple files being returned under blueocean.
Expected
Javascript not duplicated unnecessarily
Actual
e.g. consider two (of many) resources returned by ci.blueocean.io
- https://ci.blueocean.io/adjuncts/1a7b49ee/org/jenkins/ui/jsmodules/keymirror/keymirror-0.1.1.js
- https://ci.blueocean.io/adjuncts/1a7b49ee/org/jenkins/ui/jsmodules/history/history-2.0.2.js
The first 1113 lines are duplicated into each resource
I gather this is js-bundler, but ideally it would only be loaded once. 9K gzipped per file * bundles == a bit of waste.
Minified I guess it would go down much smaller of course.