PERF: stop loading handlebars and ember compilers in prod

(this removes a nice 50K from our initial payload and saves memory)

Also fixes invalid HTML automatically if added to HEAD or /BODY
This commit is contained in:
Sam
2015-11-27 11:58:46 +11:00
parent c8c6034a7a
commit 43d63367fd
9 changed files with 802 additions and 48 deletions

View File

@@ -0,0 +1,6 @@
class AddBakedHeadAndBodyToSiteCustomizations < ActiveRecord::Migration
def change
add_column :site_customizations, :head_tag_baked, :text
add_column :site_customizations, :body_tag_baked, :text
end
end