Once we migrated to ember 1.11.3 from 1.10.1 my compiled templates.js file size increased from ~5MB to ~9MB, without even changing any template(.hbs) file or adding any hbs file. I'm using HTMLBars in my templates. Anyone know the reason for it?
Asked
Active
Viewed 73 times
1
-
new template features need new runtime support? can you post a before and after for us? (i'm curious...) – dandavis Nov 20 '15 at 06:06
-
after moving to HTMLBars we need ember-template-compiler for compiling templates, but for handlebars we don't need that. – Sathyanarayanan Ganesan Nov 20 '15 at 06:15
-
it likely needs more meta to handle live vdom updating that's not needed to render out a string one time... – dandavis Nov 20 '15 at 06:18
-
oh, okay. will the size get reduced if I upgrade my app to latest ember or HTMLBars version? any idea? – Sathyanarayanan Ganesan Nov 20 '15 at 12:54
-
Seems unlikely. New format should compress better though, which should reduce the total effective increase once in production. – spectras Nov 20 '15 at 22:47