Default js included in Rails
- by hizki
When creating a new Rails application, it is automatically supplied with several quite large js files. In the application layout, by default, all of them are loaded into the page:
<%= javascript_include_tag :defaults %>
I was wondering, isn't loading all those javascripts can make the site possibly mush slower?
And if so, where can I change the definition of :defaults? Or should I just include the ones I need and remove the code line mentioned above?
Thank you