It is suboptimal. You can use several Resources but optimizations are done inside the bundle (sprites for example).
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ståle Undheim Sent: Friday, October 15, 2010 1:32 PM To: Google Web Toolkit Subject: Is multiple ClientBundles sub-optimal? I am wondering if having multiple client bundles is less then an optimal solution. If I have widgets that require a set of images and styles, is it ok to create 1 client bundle for each widget? Or is this suboptimal? I would figure that GWT would generate optimized JavaScript code that didn't really construct the ClientBundle object on each invocation, but rather had them all as static JavaScript variables. The only issue I see is that for older IE browsers GWT would have to generate multiple bundle images, rather than 1 large one. But once downloaded, those would be cached anyways. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
