Recently I've made changes to an application which had 20 different .js
files being referenced, to using bundling to bring this down to one file.
This includes:
- Frameworks (jQuery library)
- Custom logic (global logic for header navigation etc)
However after deployment this showed that we we're no longer making use of asynchronous downloading of javascript files.
Therefore our waterfall effect was replaced by one long download.
Has anyone ran into this problem before? Are there any guidelines for bundling which suggest multiple over single?