Defer JS loading to improve first paint perf

This commit is contained in:
Olivier Lacan 2018-03-12 00:01:59 -04:00
parent 14bc68da17
commit 629f526af8

View File

@ -36,7 +36,7 @@
= stylesheet_link_tag 'application'
- else
= stylesheet_link_tag 'legacy'
= javascript_include_tag 'all'
= javascript_include_tag 'all', defer: true
%body
%article