Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349239

Summary: [client] Remove or optimize dojo dependency in fileClientPlugin
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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 ***