mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user