Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
None
-
dogfood server - ci.blueocean.io
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
but more seriously, WHEN we have minification, it should only be 1K overhead per bundle max. probably less (given most of it is nice comments). The overhead of an extra round trip for an externalised bundle would swamp that
(and then we get into discussions on asset chains that bundle it all in to main page load, or not, and then http2, or not etc etc).
What we really need: is servers all over the world so we don't have to worry. DONE.