Last modified: 2014-11-15 03:56:27 UTC
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.
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/7eTXMkkI
Andre could we get a bugzilla product/component setup - Mediawiki Extensions / Mantle to move this to?
(In reply to Jon from comment #2) > Andre could we get a bugzilla product/component setup - Mediawiki Extensions > / Mantle to move this to? Please create a ticket for it and see https://www.mediawiki.org/wiki/Bug_management/Project_Maintainers#To_add_a_project_or_component for info
Thanks opened bug 64906