| Summary: | Content fetched multiple times due to minification | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Client | Assignee: | Simon Kaegi <simon_kaegi> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | bokowski, simon_kaegi, susan |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
John Arthorne
(In reply to comment #0) > - Maybe these plugins shouldn't be accessing scripts like globalCommands.js in > the first place. +1 - why would plugins be dependent on source files from us, other than plugin.js and the OpenAjax hub? (In reply to comment #1) > (In reply to comment #0) > > - Maybe these plugins shouldn't be accessing scripts like globalCommands.js in > > the first place. > > +1 - why would plugins be dependent on source files from us, other than > plugin.js and the OpenAjax hub? This relates to the "not everything is a plug-in" discussion. Today we have pieces of client functionality, like git, which are implemented as a plug-in, but they are contributing Orion pages and need access to the common commmands, headers, etc. So the work here is to remove many of our plugins because they actually contribute to the main host application. Revisit post 0.2. The "... maybe these plugins shouldn't be accessing scripts like globalCommands.js in the first place." applies here. I cleaned several of these cases up during the requireJS-ing so am not sure if this is still an issue. I do see some time spent fetching the various resources in a plugin so think we could benefit from proper optimization there too. In M8 all of the plugins are now standalone and do not access any of the orion components other than plugin.js. I'm going to close this for now but we might want to consider doing further optization on the plugins similar to what we do for the rest of orion. |