Ruby on Rails
Wednesday, November 11, 2015
On Wednesday, November 11, 2015 at 10:38:22 AM UTC, Uwe Kubosch wrote:
Hi!
For a faster initial render of my pages, I have added a script relocator initializer that scans the page and moves all script tags to the bottom of the body tag. Order is kept, and the script tags in the `head` tag are marked with data-turbolinks-eval ="false" so they are not executed again on new pages when usingturbolinks .
Off the top of my head, it seems like it would not work with http://api.rubyonrails.org/classes/ActionController/Streaming.html - which may or may not be a concern.
Fred
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/13d61873-01e3-4fcb-a933-7db481ed25d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment