A change that may not hurt anybody - move the js include tag to the bottom

I was working a lot on performance improvements on rails apps when I realize that we always talking about ways to improve the page load of our apps, basically ways to show things faster. One of those ‘ways’ is to simple move the js include to the bottom of our page.

So, I got this questions why not give this super simple improvement to rails just by moving the js include on the application layout to the bottom?.

this is my pull request https://github.com/rails/rails/pull/11132 maybe it’s silly but I think it doesn’t hurt anybody.


This is such an obvious tip that I am sure this has been discussed before.

Yes, you can follow the thread here https://github.com/rails/rails/pull/5815 nevertheless I’m still think is a good idea and should be promoted