View Full Version : Code Splitting for large widgets (grid)

17 Mar 2012, 3:44 PM
Hi, I'm trying to improve my application's performance, but it seems that the package com.extjs.gxt.ui.client.widget.grid get's in the left over code, and it takes up 449226 Bytes which is 12% of my application :)

I'm using the grid in 3 activities, each activity being in a separate split point.. Now, do you have any suggestion about how should I do, in order to have a separate js file (fragment) containing just this package and be downloaded only when one of those 3 activities needs to instantiate the grid..

Thanks a lot