Dear Canvas team,
as our application is growing and growing, also the number of Controllers is doing the same. In the meantime, this became a critical mass, and it seems that by default, Canvas concatenates all .js files and delivers a huge .js code to the browser - even if a user just visits a single page and then leaves.
How would I structure the Controllers and what is needed to force the system only deliver the .js content of those Controllers to the browser that are needed for the current Template?
Do you have any example? I’ve seen that in the Canvas samples, there is a sub structure in the “js/Controllers” folder, but would that be sufficient? I dont’ think so.
Any suggestion very welcome, thanks,