The granularity of the module system should have a small impact on the performance, specially when there are many small modules.
XML tag can be used to group modules together in the same web resources. When a module of a load-group is
requested, the web resource containing the modules of the load group is loaded, for instance, if you have the
modules grouped by
is loaded, the AMD loader will load the
group instead of only
foo. Consequently, the
module is also available now. If there is any request for
module, no more request is made as it is already loaded.
Do not use the group name that follows by dash and 2 character, for example: forbar-as. This may cause unexpected parsing group name on the server (on GateIn 3.5.0.Final).