I'm using requirejs to build my Backbone project. It's all working well and I'm able to use the optimizer to compile all the js modules and templates into a single main.js file. The problem is that main.js is about 1.5 meg. At work, this is fine as our internet connection is quick, but I'm noticing that with some slower connections, require.js times out before main.js is able to load.
Is there any way around this that doesn't make me alter the waitSeconds timeout?
For example is there a way to break up the main.js file into multiple pieces, or to force require to wait until there's an error produced when loading main.js?