Handlebars templates can be precompiled into JavaScript, see http://handlebarsjs.com/precompilation.html . The compiler uses nodejs, so it might be a while before ResourceLoader can compile templates as needed in production. But it would be nice if RL could check for the existence of myTemplateName.handlebars.js , and use that as the template instead of running Handlebars.compile().
The other wrinkle is the compiled template adds itself as Handlebars.templates.myTemplateName, so this would have to be aliased.
Version: unspecified
Severity: enhancement