Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349239 - [client] Remove or optimize dojo dependency in fileClientPlugin
Summary: [client] Remove or optimize dojo dependency in fileClientPlugin
Status: CLOSED DUPLICATE of bug 361031
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 17:02 EDT by Mark Macdonald CLA
Modified: 2011-11-30 15:43 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-06-13 17:02:10 EDT
The fileClientPlugin is loading the full uncompressed build of dojo. This is a pretty big download hit to take (~110KB gzipped) the first time the navigator is loaded.
Comment 1 John Arthorne CLA 2011-06-13 17:30:21 EDT
Note this isn't an unused dependency. The file client uses at least xhr and toJSON from dojo.
Comment 2 Mark Macdonald CLA 2011-11-30 15:43:13 EST
Bug 361031 covers this: if we did a requireJS build on our plugins, they could be optimized so you only get the subset of dojo you need.

*** This bug has been marked as a duplicate of bug 361031 ***