where they are needed? In other words I see four options:
1) Cache everything in layouts/application.html.erb and don't worry
about selective inclusion of .js files where they are needed;
2) cache some things in (e.g., dependencies like jquery) and
selectively include the rest only where they are needed;
4) cache nothing and include everything in layouts/
that my layouts/application.html.erb file came to look like this:
%> <!-- using prototype & jquery -->
"jquery.maskedinput-1.2.2.js", :cache=>true %>
When, recently, I switched into production mode, I saw that the
When I remove the :cache option from my layouts/application.html.erb
file, like this...
prototype & jquery -->
...I get back a lot of my functionality.