As you know, vendor (framework and libraries) code should change less often than application code. I’ve seen this approach in yeoman
project and I think it make sense.
This means putting all vendor code in one file (jquery
, handlebars
, ember
, …) and application code in another file, so browser can cache vendor.js
file and dosn’t re-dowonload it even when we deploy new application. I think this would be specifically good for Ember since it’s quite big in byte size.
What are your thoughts on this approach?